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)
Tue, Nov 19, 4:37 PM
Unknown Object (File)
Sun, Nov 17, 1:33 PM
Unknown Object (File)
Fri, Nov 15, 1:48 AM
Unknown Object (File)
Thu, Nov 14, 5:08 PM
Unknown Object (File)
Mon, Nov 11, 2:37 AM
Unknown Object (File)
Sat, Nov 9, 1:00 PM
Unknown Object (File)
Thu, Nov 7, 5:45 AM
Unknown Object (File)
Tue, Oct 29, 11:10 AM
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