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

Automatically update "ThemeId" field of category, when it's "Type" is changed

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B2
    • Component/s: CMS
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      Attempt to change page type from "Virtual" into "Template" always resulted in a validation error.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Plan:

      1. validate "Template File" field only, when page "Type" field is changed
      2. when changing page type from "Virtual" into "Template" set "ThemeId" field of the page into currently active theme
      3. when changing page type from "Template" into "Virtual" set "ThemeId" field of the page into "0" (means no theme bound page)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 41m
                  41m