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

Error Not Displayed When Renaming Widget Page Template with Invalid Name

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.0 CE GA1, 7.1.10 DXP FP3, 7.1.X, Master
    • Fix Version/s: 7.1.X, Master
    • Component/s: Page Templates
    • Labels:

      Description

      Description:

      When renaming a Widget Page Template with an invalid name (e.g. the same name as an existing Content/Widget Page Template or a name longer than the max length), an error does not get displayed to the user. Instead, the rename dialog hangs & the Save button is in an in-progress (spinning) state. 

      Steps to Reproduce:

      1. Expand the site on the left.
      2. Go to Build > Pages > Page Templates tab.
      3. Create a new/choose an existing collection.
      4. Create Content & Widget Page Templates.
      5. Rename a Widget Page Template to the same name of either a Content/Widget Page 
        Template or a name that is longer than the max length.

      Expected Results:

      An error should be displayed.

      • When entering an existing name: "A page template entry with that name already exists." (which is consistent with adding a new template with existing name)
      • When entering a name that's too long: "Please enter a valid name." (which is consistent with adding a new template with a name that's too long)

      Actual Results:

      No error is displayed. Instead, the rename dialog hangs & the Save button is in an in-progress (spinning) state. 

      Branch 71x: Reproduced (1210e9c11fbd461afbf455f0553d76fd2e08e59f)

      Master: Reproduced (3e63d23e9213b90da5c2cec263038cf282e7a5d2)

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 35 weeks ago

                  Packages

                  Version Package
                  7.1.X
                  Master