MantisBT: master b01b6779

Author Committer Branch Timestamp Parent
dregad dregad master 2020-02-02 11:22 master 021304c8
Affected Issues  0026541: Passing invalid id to rest api custom field update causes program crash
Changeset

Get & validate custom field using standard API

Use mci_get_custom_field_id_from_objectref() to retrieve the custom
field's id.

Throw exceptions if

  • the returned Id == 0 (invalid field)
  • the field is not linked to the current project

Fixes 0026541

mod - api/soap/mc_project_api.php Diff File