Page MenuHomePhabricator

Fix subtype extension support check
ClosedPublic

Authored by 0 on Aug 20 2021, 6:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 8:14 AM
Unknown Object (File)
Sat, Dec 14, 2:55 PM
Unknown Object (File)
Sat, Dec 14, 2:18 AM
Unknown Object (File)
Sat, Dec 7, 8:20 AM
Unknown Object (File)
Fri, Dec 6, 3:32 PM
Unknown Object (File)
Sat, Nov 30, 10:24 PM
Unknown Object (File)
Thu, Nov 28, 12:39 PM
Unknown Object (File)
Nov 11 2024, 4:00 AM
Subscribers

Details

Summary

Fixes T13663. supportsSubtypes tries to create an editable object, but this isn't always valid for PhabricatorCalendarImport. Use instanceof instead.

Test Plan
  • Edited calendar import, tasks (2 different subtypes), and projects (2 different subtypes).
  • Changed task subtypes using Change Subtype action and batch editor.
  • Changed task and project subtypes using Conduit.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable