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

Can delete custom web content template with referenced content fragment

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Create a basic web content
      2. Add a template that uses the basic web content structure and customize it
      3. Add a content page
      4. Drag and drop the "Content" fragment onto the content page and select your newly created web content
      5. For "Template" select your custom web content template
      6. Publish page
      7. Go to web content admin and attempt to delete your custom template

      Actual result:
      Could delete template successfully.

      Expected result:
      Fail to delete, there is an error message saying "Error:The template cannot be deleted because it is required by one or more template links".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                lu.liu Lu Liu
                Participants of an Issue:
                Recent user:
                Lu Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  23 weeks, 5 days ago

                  Packages

                  Version Package