View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026120 | mantisbt | tagging | public | 2019-09-09 05:16 | 2019-09-09 05:32 |
Reporter | dregad | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 2.11.0 | ||||
Summary | 0026120: Confusing error message when adding non-existing tag without tag_create_threshold | ||||
Description | When a user that does not have the access level defined in $g_tag_create_threshold tries to attach a non-existing tag to an issue, Mantis fails with APPLICATION ERROR 29 - Invalid value for 'tags' The error is thrown by TagAttachCommand at line 106 While not technically wrong, this error is confusing, and a more circumstanciated message would be nice. It's worth mentioning that the Exception's message is much more useful, but is not displayed to the end-user when the error is triggered by the GUI. Maybe using a specific error code instead of the generic ERROR_INVALID_FIELD_VALUE would be best. | ||||
Steps To Reproduce |
| ||||
Additional Information | Before the introduction of TagAttachCommand in Mantis 2.11.0, a specific error message was displayed by tag_attach.php, including the offending tag name(s) : Tag attachment failed. and the user could edit the tags and resubmit. | ||||
Tags | No tags attached. | ||||