Skip to content
  • Daniel Stone's avatar
    Accept arrays in PHID custom-field validation · 20dd5a7a
    Daniel Stone authored and Ana Rute Mendes's avatar Ana Rute Mendes committed
    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
    20dd5a7a