• Daniel Stone's avatar
    Accept arrays in PHID custom-field validation · 20dd5a7a
    Daniel Stone authored
    As setValueFromStorage() notes, we can accept either JSON strings or arrays for PHID-type custom fields. Handle this in decodeValue by passing through an array if we've received one.
    Test Plan:
      - Add Maniphest custom field with PhabricatorPeopleDatasource
      - Create task with field filled
      - Go to Maniphest task detail view
      - Observe no errors in DarkConsole / PHP error log
PhabricatorStandardCustomFieldPHIDs.php 7.33 KB