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

Fail to delete depots for the first time when staging is enabled

    Description

    Steps to reproduce:

    1. Add a new Asset Library and enable staging for this Asset Library
    2. Add a new site and enable staging for this site
    3. Connect this Asset Library to the site
    4. Delete this Asset Library(for the first time)

    Expected result:
    The Asset Library is deleted.

    Actual result:
    The Asset Library is not deleted for the first time:

    • A successful message is displayed, but the deletion is not successful.
    • The number of the connected sites changes from 1 to 0.
    • Click the Delete button again, the depot will be deleted.

    Note:
    If connect the depot to the site first and enable both of them, then the number of the connected sites doesn't change, but still can not delete the depot for the first time.

      Attachments

      1. fixed.png
        fixed.png
        24 kB
      2. image-2021-07-27-13-00-06-927.png
        image-2021-07-27-13-00-06-927.png
        53 kB
      3. reproduced_stagingFirst.gif
        reproduced_stagingFirst.gif
        379 kB
      4. reproduced.gif
        reproduced.gif
        296 kB

        Issue Links

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            yvonne.han Yvonne Han
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Adolfo Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master