Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-803

Parameter "debug" in url is ignored during <inp2:m_XMLTemplate .../> tag usage

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.2-B1
    • Fix Version/s: 5.1.3-B1
    • Component/s: Front End
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: