View Issue Details

IDProjectCategoryView StatusLast Update
0008121mantisbtcustom fieldspublic2007-08-02 02:28
Reporterseiji Assigned Tozakman  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSLinuxOS VersionGentoo Linux
Product Version1.1.0a3 
Fixed in Version1.1.0a4 
Summary0008121: Error message doesn't show field name after entering invalid value in custom field
Description

When I entered invalid value (like too short or long) in custom field, Mantis showed the following error message.

'Invalid value for field'

but this message is too insufficient to see which custom field is invalid.

Steps To Reproduce
  1. create customize field in Manage Custom Fields.
  2. set Min Length ex "10"
  3. Click report issue
  4. enter "test" in custom field
  5. submit button
  6. above error message is displayed.
Additional Information

lang/string_english.txt
abount 235L:
change

$MANTIS_ERROR[ERROR_CUSTOM_FIELD_INVALID_VALUE] = 'Invalid value for field';

to

$MANTIS_ERROR[ERROR_CUSTOM_FIELD_INVALID_VALUE] = 'Invalid value for %s';

%s is field name.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master e7ef7384

2007-07-31 16:28

zakman


Details Diff
Fixed Bug 0008121: Error message doesn't show field name after entering invalid value in custom field

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4516 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0008121
mod - lang/strings_english.txt Diff File