Fixes T4833. I wish there was an elegant way to catch this exception but I think the stack is written such that we really should just do this one-off query here...
Details
Details
- Reviewers
epriestley - Maniphest Tasks
- T4833: Bug: "Create New Project" form doesn't handle "AphrontQueryDuplicateKeyException"
- Commits
- Restricted Diffusion Commit
rPc00733a292e8: Project - add editor-level support for detecting name conflicts
from the "create project" link under "edit task" I received a more detailed exception than the report in T4833 post patch. I also tested editing an existing project - yay - and editing an existing project to some other existing project's name - got a nice error dialogue.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
T4021 is on my mid-term radar and I can try to give us proper hooks for this kind of thing then. This is a good step forward, though.