In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000992 [In-Portal CMS] Front End bug report always 2011-02-05 08:21 2011-09-19 16:09
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.3-B1
Status closed Product Version 5.1.2-B1 Target Version 5.1.3
Time EstimateNo estimate
Summary 0000992: Parameter "debug" in url is ignored during <inp2:m_XMLTemplate .../> tag usage
Description In-Portal has nice debug mode feature where various analytical information about ongoing processes on every page is displayed. When allowed by "/system/debug.php" file this debugger report can be viewed by pressing F12 on every page being visited (both Front-end and Admin Console).

Usually developers have this mode turned on by default to simplify development process. However in some cases debug mode should be temporarily turned off, e.g. when XML document is displayed then "text/xml" header is sent instead of "text/html", so no HTML of debugger will work anyway.

To do that in templates there is a <inp2:m_NoDebug/> tag that does it's job. But to enable debug mode (e.g. temporarily cancel this tag effect without changing the template, where it's used) developer can add &debug=1 parameter into url of the page, he is browsing.

There is also <inp2:m_XMLTemplate .../> tag that also disables debug mode, but adding &debug=1 to url has no effect. Attached patch fixes that.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/7mTfeUvscFY/discussion
Change Log Message Fixed ignorance of debug=1 parameter in <inp2:m_XMLTemplate/> tag
Estimate Points 0
Attached Files patch file icon debug_parameter_not_working_with_xmltemplate_tag.patch [^] (1,123 bytes) 2011-02-05 08:21 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0003221)
Dmitry (manager)
2011-02-05 15:30

Reviewed and tested good.
User avatar (0003432)
alex (manager)
2011-05-20 03:06

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000992: Parameter "debug" in url is ignored during <inp2:m_XMLTemplate .../> tag usage
User avatar (0003867)
alex (manager)
2011-09-19 16:09

Closing, since 5.1.3 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14324
Timestamp: 2011-05-20 03:06:18
Author: alex
Details ] Diff ]
Fixes 0000992: Parameter "debug" in url is ignored during <inp2:m_XMLTemplate .../> tag usage
mod - /in-portal/branches/5.1.x/core/kernel/processors/main_processor.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-09-19 16:09 alex Note Added: 0003867
2011-09-19 16:09 alex Status resolved => closed
2011-05-20 03:06 alex Note Added: 0003432
2011-05-20 03:06 alex Status reviewed and tested => resolved
2011-05-20 03:06 alex Fixed in Version => 5.1.3-B1
2011-05-20 03:06 alex Resolution open => fixed
2011-05-20 03:06 alex Assigned To !COMMUNITY => alex
2011-05-20 03:06 alex Changeset attached 5.1.x r14324
2011-04-04 11:49 Dmitry Target Version Icebox => 5.1.3
2011-02-05 15:30 Dmitry Note Added: 0003221
2011-02-05 15:30 Dmitry Status needs testing => reviewed and tested
2011-02-05 08:22 alex Assigned To => !COMMUNITY
2011-02-05 08:22 alex Developer => alex
2011-02-05 08:22 alex Status active => needs testing
2011-02-05 08:22 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/7mTfeUvscFY/discussion
2011-02-05 08:21 alex New Issue
2011-02-05 08:21 alex File Added: debug_parameter_not_working_with_xmltemplate_tag.patch
2011-02-05 08:21 alex Change Log Message => Fixed ignorance of debug=1 parameter in <inp2:m_XMLTemplate/> tag



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker