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

Can delete web content template when there are assets associated to them

    Description

    Steps to reproduce:

    1. Navigate to Web Content > Structures
    2. Add a structure
    3. Add a template for that structure
    4. Publish a web content article using the structure
    5. Try to delete the template

    Expected result:

    Assert that the template cannot be deleted and there is a message indicating that the template is required by one or more template links

    Actual result:

    Template can be deleted

    Reproduced on:

    Tomcat 9.0.17 + MySQL 5.7.

    Portal Master GIT Commit:  cb86f281f9df4768a47fa0d489c18e9f2085d573

      Attachments

        Activity

          People

          Assignee:
          brooke.dalton Brooke Dalton
          Reporter:
          brooke.dalton Brooke Dalton
          Participants of an Issue:
          Recent user:
          Brooke Dalton
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Days since last comment:
            1 year, 38 weeks, 1 day ago

              Packages

              Version Package