Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-99786

When creating a Page Template an error occurs

    Details

      Description

      Description:

      When attempting to create a new page using an existing site template, a validation error will be thrown if a vocabulary requires pages to have a category.

      This has been discussed on PTR-1113 as something which needs to be resolved right now, even though the full and complete solution may be something different (such as creating an extra page/window to allow the user to select a category if one is required).  For now, the solution will be to allow initial page creation when using a page template (same outcome when creating a blank page), but subsequent updates must include a category to be saved.

      Steps to Reproduce:

      1. Go to Categorization --> Vocabulary and edit the "Topic".
      2. At the ASSOCIATED ASSET TYPES, select "Page" and set "Required", then save.
      3. Go to Build (Site Builder) --> Pages --> select a Public Page and then "Global Templates".
      4. Select a template and try to create a Page.

      Actual Result: an exception error appears in console, the screen is frozen. However, the page is created. See screenshot for error: Pagetemplateerror.txt

      Expected Result: The Page Template should be created successfully with no errors.

      Reproduced in master: 5768543decf42efba87f23f0bc6a08f4152cd1a7

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            christopher.kian Christopher Kian
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Christopher Kian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 9 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP14
                7.1.X
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                7.3.10 DXP GA1
                Master