Page MenuHomePhabricator

Maniphest "No Create Permission" as Admin
Closed, ResolvedPublic

Description

Tried to create a new Maniphest form. (https://phabricator.testdomain.tld/transactions/editengine/maniphest.task/) After an exception (tried to cancel), Phabricator show a no create permission dialog.

I am admin, it is possible to restore the permission?

Bildschirmfoto 2015-12-14 um 22.12.33.png (406×2 px, 71 KB)

Instead of Builtin it display now Form 2. Never saved the form :-|

Bildschirmfoto 2015-12-14 um 22.24.15.png (288×2 px, 49 KB)

Event Timeline

rphl raised the priority of this task from to Needs Triage.
rphl updated the task description. (Show Details)
rphl changed the edit policy from "All Users" to "Custom Policy".
rphl added a project: Bug Report.
rphl added a subscriber: rphl.

After an exception

What version of Phabricator are you running?

What was the text of the exception?

What happens when you try now?

I can't reproduce this.

What version of Phabricator are you running?

HEAD

What was the text of the exception?

Sorry, didnt saved ist :-|

What happens when you try now?

Click on Create Form display the Permission dialog.


I have checked the other Edit Engines (https://phabricator.testdomain.tld/transactions/editengine/)

Click on: https://phabricator.testdomain.tld/transactions/editengine/transactions.editengine.config/

An exception occurs:

Bildschirmfoto 2015-12-14 um 22.27.04.png (542×2 px, 87 KB)

Can you show me exactly what version you're running, by navigating to ConfigVersions?

phabricator eb8835b15ee1375d8989b4d886b6b11855745e20 (Mon, Dec 14) 
arcanist 9a373c88d74793a21857b07735059212d5ad7bba (Sun, Dec 13) 
phutil 4a09be9ffd4a696f42e49785951636f9cdade94d (Sat, Dec 12)

Can you show me what you see at this path (replacing the domain with your domain)?

http://your.install.com/applications/edit/PhabricatorManiphestApplication/

Did a new test install. I could reproduce it.

Disabling the "Bulitin" Form lead to the Exception. After this step the Create Form is disabled : -(

In T9983#149125, @rphl wrote:

An exception occurs:

Bildschirmfoto 2015-12-14 um 22.27.04.png (542×2 px, 87 KB)

>>> UNRECOVERABLE FATAL ERROR <<<

Call to undefined method PhabricatorEditEngineConfigurationEditEngine::buildFormDisabledResponse()

/var/www/html/phabricator/src/applications/transactions/editengine/PhabricatorEditEngine.php:737


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻

URL: https://phabricator.domain.tld/transactions/editengine/maniphest.task/edit/form/default/

It is possible to restore the old permission or state?

After some digging I found the problem.

I dont know why, but inside dbphabricator_searchsearch_editengineconfiguration there is an enginekey transactions.editengine.config. its value for isDisabled was 1, changed it to 0

Steps to reproduce:

  1. open /transactions/editengine/maniphest.task/
  2. Click Create form
  3. Click Actions > Edit Form Configuration ( Title display: Builtin, Options are disabled)
  4. Make Editable ( Title display: Form X, Options are enabled)
  5. Disable Form
  6. Go back, Create Form == Disabled
epriestley claimed this task.

That's expected, you disabled the form for creating other forms.

The fatals are fixed at HEAD.

You can re-enable the form if you want to create or edit other forms.