View Issue Details

IDProjectCategoryView StatusLast Update
0017370mantisbtbugtrackerpublic2014-12-08 00:34
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.17 
Target Version1.3.0-beta.1Fixed in Version1.3.0-beta.1 
Summary0017370: Roadmap+Changelog display "0" instead of project name in error message
Description

When called with e.g. ?project=Test, and project 'Test' does not exist, the Roadmap and Change Log pages trigger an error message which says 'Project "0" not found.' instead of reporting the invalid project name.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master 176c9bba

2014-05-22 14:14

dregad


Details Diff
Fix 'project not found' message from roadmap/changelog

The Roadmap and Change Log can receive indication of a project either as
an id or a name. In the latter case, if the project is not found the
error message printed "0" instead of the actual value of the project
parameter.

This commit fixes the error message to allow strings instead of decimal,
and adds error_parameters() calls to send the project name to the error
handler.

Fixes 0017370
Affected Issues
0017370
mod - changelog_page.php Diff File
mod - lang/strings_english.txt Diff File
mod - roadmap_page.php Diff File