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:

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

Event Timeline

tiguchi created this task.Jun 28 2015, 8:10 PM
tiguchi raised the priority of this task from to Needs Triage.
tiguchi updated the task description. (Show Details)
tiguchi added a project: Diffusion.
tiguchi added a subscriber: tiguchi.
eadler added a subscriber: eadler.Jun 28 2015, 9:24 PM
btrahan claimed this task.Jun 29 2015, 6:50 PM
btrahan triaged this task as Normal priority.Jun 29 2015, 6:53 PM