View Issue Details

IDProjectCategoryView StatusLast Update
0016474mantisbtbugtrackerpublic2014-12-08 02:07
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0016474: Need a more specific error message in check_XXX functions
Description

Currently, check_checked() and check_selected() are doing strict type comparison by default. When the compared values' type don't match, Mantis issues an ERROR_GENERIC message.

We should issue a more descriptive and specific error message in this situation.

TagsNo tags attached.

Activities

govind

govind

2013-12-01 22:04

reporter   ~0038719

sdfgdf

govind

govind

2013-12-01 22:05

reporter   ~0038759

xdfjghjgh

Related Changesets

MantisBT: master 034b1655

2013-10-12 09:41

dregad


Details Diff
Define new ERROR_TYPE_MISMATCH

This is to replace the use of ERROR_GENERIC when performing a strict
type comparison in helper_check_variables_equal() function.

Fixes 0016474
Affected Issues
0016474
mod - core/constant_inc.php Diff File
mod - core/helper_api.php Diff File
mod - lang/strings_english.txt Diff File