Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14322

Make sure that the document type and page location match in the New page sidepanel

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 15.2.3
    • None
    • None

    Description

      What document type can be used for a new page depends of the folder that is selected as Page location and vice versa.

      Check the validity of both as implemented for the new content sidepanel in CMS-15267

      As an editor or author, when I'm creating a new experience page, I want the selected location to match with the selected document type so that I can create the new page in the allowed folder.

      Requirements - the requirements are to summarize please follow the similar behavior applied in CMS-15267

      • During folder location selection check if the selected document type is allowed in folder and disable OK button in picker if it s not allowed/ Enable it when a valid location is selected.
      • If the Document type is changed after selecting the location, check that the selected folder allows that document type.
      • If not, throw error on the Document location field: 'Documents of the selected document type are not allowed in this location'. 
      • In addition: the combination of the document type and location that is selected by default could be invalid already. So the check should also be done either on Next (resulting in an error on the document location field if the combination is invalid). 

      We already have error behavior available in the right side panel, we can apply the same. I'm attaching an ss of the current behavior

      Requirements video: https://bloomreach.zoom.us/rec/share/mrBBaIAPhUT-mA-3L61rMcQS6VEJnVMYQ6q9qZwHWnpk62lZVxrTg-oCwl1df92D.uG7M_fVA_o5WzEVO?startTime=1676539546000
      Passcode: 9xm?3as&

      Attachments

        Issue Links

          Activity

            People

              deniz.ergun Deniz Ergun
              cdekort Carolien de Kort
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: