Page MenuHomePhabricator

PhabricatorApplicationTransactionValidationException when trying to create a new repository
Closed, ResolvedPublic

Description

When trying to create a new hosted Git repository I get the following error message:

Unhandled Exception ("PhabricatorApplicationTransactionValidationException")
Validation errors:

  • You must choose a space for this object.

PHP error log stack trace:

[28-Jun-2015 13:05:19 America/Los_Angeles] [2015-06-28 13:05:19] EXCEPTION: (PhabricatorApplicationTransactionValidationException) Validation errors:
  - You must choose a space for this object. at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:760]
[28-Jun-2015 13:05:19 America/Los_Angeles] arcanist(head=master, ref.master=29839e8c72c5), phabricator(head=master, ref.master=ae00d08b8886), phutil(head=master, ref.master=ea6830cc8019)
[28-Jun-2015 13:05:19 America/Los_Angeles]   #0 <#2> PhabricatorApplicationTransactionEditor::applyTransactions(PhabricatorRepository, array) called at [<phabricator>/src/applications/diffusion/controller/DiffusionRepositoryCreateController.php:255]
[28-Jun-2015 13:05:19 America/Los_Angeles]   #1 <#2> DiffusionRepositoryCreateController::processDiffusionRequest(AphrontRequest) called at [<phabricator>/src/applications/diffusion/controller/DiffusionController.php:51]
[28-Jun-2015 13:05:19 America/Los_Angeles]   #2 <#2> DiffusionController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:226]
[28-Jun-2015 13:05:19 America/Los_Angeles]   #3 phlog(PhabricatorApplicationTransactionValidationException) called at [<phabricator>/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php:229]
[28-Jun-2015 13:05:19 America/Los_Angeles]   #4 AphrontDefaultApplicationConfiguration::handleException(PhabricatorApplicationTransactionValidationException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:230]
[28-Jun-2015 13:05:19 America/Los_Angeles]   #5 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:140]
[28-Jun-2015 13:05:19 America/Los_Angeles]   #6 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:21]

However, this is how I set up the access policies:

  • Space = "S1"
  • Visible to = "Management"
  • Can push = "Management"

Screenshot:

policies.jpg (265×856 px, 23 KB)

Also when "visible to" and "can push" is set to "All Users" I get the same error message.