Page MenuHomePhabricator

conduit: check if members is initialized before creating new project
Needs RevisionPublic

Authored by shuLhan on Aug 29 2016, 12:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 19, 8:05 PM
Unknown Object (File)
Sun, Mar 10, 10:32 PM
Unknown Object (File)
Feb 19 2024, 4:15 PM
Unknown Object (File)
Feb 19 2024, 3:16 PM
Unknown Object (File)
Feb 7 2024, 2:57 PM
Unknown Object (File)
Feb 2 2024, 2:19 AM
Unknown Object (File)
Jan 22 2024, 2:14 AM
Unknown Object (File)
Dec 27 2023, 8:51 AM
Subscribers

Details

Summary

Fix T11551 conduit API for "project.create" with only "name" passed as
parameter.

https://secure.phabricator.com/T11551

Test Plan
  • Get or create new Conduit token
  • Execute "project.create" with curl,

$ curl http://phabricator.localdomain:10010/api/project.create \
-d api.token=api-pcbhtiluxuarqcvg44a4vfkyikw5 \
-d name=Test

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Errors
SeverityLocationCodeMessage
Error/home/ms/Workspaces/phabricator/libphutil/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php:128PHL1Unknown Symbol
Error/home/ms/Workspaces/phabricator/libphutil/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php:129PHL1Unknown Symbol
Error/home/ms/Workspaces/phabricator/libphutil/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php:133PHL1Unknown Symbol
Error/home/ms/Workspaces/phabricator/libphutil/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php:197PHL1Unknown Symbol
Error/home/ms/Workspaces/phabricator/libphutil/src/parser/PhutilJSONParser.php:28PHL1Unknown Symbol
Errorsrc/applications/celerity/CelerityResourceTransformer.php:108PHL1Unknown Symbol
Errorsrc/applications/console/plugin/DarkConsoleServicesPlugin.php:151PHL1Unknown Symbol
Errorsrc/applications/console/plugin/DarkConsoleStartupPlugin.php:17PHL1Unknown Symbol
Errorsrc/applications/console/plugin/xhprof/DarkConsoleXHProfPluginAPI.php:132PHL1Unknown Symbol
Errorsrc/applications/harbormaster/controller/HarbormasterCircleCIHookController.php:14PHL1Unknown Symbol
Errorsrc/applications/maniphest/controller/ManiphestExportController.php:121PHL1Unknown Symbol
Errorsrc/applications/maniphest/export/ManiphestExcelDefaultFormat.php:124PHL1Unknown Symbol
Errorsrc/applications/maniphest/export/ManiphestExcelDefaultFormat.php:130PHL1Unknown Symbol
Errorsrc/applications/maniphest/export/ManiphestExcelFormat.php:30PHL1Unknown Symbol
Errorsrc/applications/metamta/adapter/PhabricatorMailImplementationAmazonSESAdapter.php:32PHL1Unknown Symbol
Errorsrc/applications/metamta/adapter/PhabricatorMailImplementationPHPMailerAdapter.php:15PHL1Unknown Symbol
Errorsrc/applications/phortune/provider/PhortuneStripePaymentProvider.php:121PHL1Unknown Symbol
Errorsrc/applications/phortune/provider/PhortuneStripePaymentProvider.php:256PHL1Unknown Symbol
Errorsrc/applications/phortune/provider/PhortuneWePayPaymentProvider.php:58PHL1Unknown Symbol
Errorsrc/applications/xhprof/view/PhabricatorXHProfProfileSymbolView.php:29PHL1Unknown Symbol
Errorsrc/applications/xhprof/view/PhabricatorXHProfProfileTopLevelView.php:33PHL1Unknown Symbol
Errorsrc/infrastructure/env/PhabricatorConfigFileSource.php:16PHL1Unknown Symbol
Errorsrc/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php:25PHL1Unknown Symbol
Errorsrc/infrastructure/sms/adapter/PhabricatorSMSImplementationTwilioAdapter.php:18PHL1Unknown Symbol
Errorsrc/infrastructure/sms/adapter/PhabricatorSMSImplementationTwilioAdapter.php:33PHL1Unknown Symbol
Unit
Tests Passed
Build Status
Buildable 13484
Build 17340: arc lint + arc unit

Event Timeline

shuLhan retitled this revision from to conduit: check if members is initialized before creating new project.
shuLhan updated this object.
shuLhan edited the test plan for this revision. (Show Details)
shuLhan added a reviewer: epriestley.

This method is now formally frozen; prefer project.edit.

This revision now requires changes to proceed.Jan 11 2017, 3:31 PM