View Issue Details

IDProjectCategoryView StatusLast Update
0027576mantisbtcustom fieldspublic2021-03-07 18:29
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.13.0 
Target Version2.25.0Fixed in Version2.25.0 
Summary0027576: Incorrect error message when reporting issue with a custom field failing validation
Description

Given a custom field with some validation criteria (e.g. maximum length), and shown when reporting a new issue, submitting an issue with a non-empty value not meeting that criteria, IssueAddCommand throws APPLICATION ERROR 11 A necessary field "xxx" was empty. Please recheck your inputs.

The error is incorrect, it should be Invalid value for field "xxx".

TagsNo tags attached.

Relationships

related to 0023998 closedvboctor Implement IssueAddCommand and use it from SOAP, REST and Web UI 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master 77d101ac

2020-11-22 01:03

dregad


Details Diff
Wrong error message when validating custom field

Given a custom field with some validation criteria (e.g. maximum length)
and shown when reporting, submitting a new issue with a non-empty value
not meeting that criteria was throwing ERROR_EMPTY_FIELD instead of
ERROR_CUSTOM_FIELD_INVALID_VALUE.

Fixes 0027576
Affected Issues
0027576
mod - api/soap/mc_project_api.php Diff File