MantisBT: master b380aee1

Author Committer Branch Timestamp Parent
elmarculino dregad master 2017-09-08 04:13:45 master dd23d629
Affected Issues  0023301: Request an issue in the REST API fail without warning if an enumeration is missing.

Fix REST API failing silently in case of missing enum value

The API call fails silently if the issue being retrieved references an
enum value or status color that does not exist in the config.

  • Use MantisEnum::getLabel() method to handle unknown enum values.
  • Set color to 'currentcolor' for unknown status

Fixes 0023301

mod - api/soap/mc_enum_api.php Diff File