Page MenuHomePhabricator

When editing a subtyped object, use edit forms of the same subtype
ClosedPublic

Authored by epriestley on Mar 2 2017, 1:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 26, 10:48 PM
Unknown Object (File)
Thu, Jun 23, 9:05 AM
Unknown Object (File)
Sat, Jun 11, 6:28 PM
Unknown Object (File)
Thu, Jun 9, 2:42 PM
Unknown Object (File)
May 29 2022, 11:53 PM
Unknown Object (File)
May 27 2022, 8:56 PM
Unknown Object (File)
May 25 2022, 4:19 PM
Unknown Object (File)
Apr 10 2017, 2:13 PM
Subscribers
None

Details

Summary

Ref T12314. When we pick an "Edit" form for a subtyped object, only consider forms with the same subtype.

For example, editing an "Animal" uses the forms with subtype "animal" which are marked as edit forms.

This also makes "Create Subtask" carry the parent task's type.

Test Plan
  • Edited an Animal, got an animal edit form.
  • Edited a normal task, got a normal task form.
  • Edited a paste, got the normal workflow.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable