View Issue Details

IDProjectCategoryView StatusLast Update
0027576mantisbtcustom fieldspublic2020-11-22 06:10
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
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 06:03:18

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

Issue History

Date Modified Username Field Change
2020-11-22 06:02 dregad New Issue
2020-11-22 06:02 dregad Status new => assigned
2020-11-22 06:02 dregad Assigned To => dregad
2020-11-22 06:02 dregad Relationship added related to 0023998
2020-11-22 06:10 dregad Changeset attached => MantisBT master 77d101ac
2020-11-22 06:10 dregad Status assigned => resolved
2020-11-22 06:10 dregad Resolution open => fixed
2020-11-22 06:10 dregad Fixed in Version => 2.25.0