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

Error message of deleting page template in use should be specific

Details

    Description

      Steps to reproduce:

      1. Start a bundle
      2. Create a widget page template
      3. Create a page using the page template
      4. Delete the page template

      Current behavior: 'Error: One or more entries could not be deleted.' error message appears

      Expected behavior: There should be a more specific error message, like "Error: You cannot delete page templates that are used by a page."

      Notes:

      • Similar to LPS-86810
      • Since you can delete multiple templates in bulk, the deletion of each template can technically fail for various other reasons (e.g.: permissions have been removed in the background by other user). In this case the original message can be the correct one.

      Attachments

        Activity

          People

            yang.cao Yang Cao
            vendel.toreki Vendel Töreki
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 38 weeks, 2 days ago

              Packages

                Version Package
                7.1.10 DXP FP21
                7.1.X
                7.2.10 DXP FP4
                7.2.X
                7.3.0 CE GA1
                7.3.10 DXP GA1
                Master