Skip to content
  • Daniel Stone's avatar
    Accept arrays in PHID custom-field validation · 0b50c4a0
    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
    0b50c4a0