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

Request variable "skip_last_template" has no affect, when placed after tags, that can perform redirect

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.9
    • Fix Version/s: 5.0.0
    • Component/s: Admin Interfaces
    • Labels:
      None

      Description

      Variable "skip_last_template" allows not to remember current template as last visited. Usually this variable is set from template like this:
      <inp2:m_Set skip_last_template="1"/>

      There are several tags, that can perform redirect, like: m_CheckSSL, m_RequireLogin. When mentioned earlier code is placed after given tags, then it is not executed when redirect is made and obviously has no effect. This allows last template to be saved, even if it is denied on given template.

      I propose to move <inp2:m_Set skip_last_template="1"/> code to first line of affected template in administrative console.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: