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

            yvonne.han Yvonne Han
            yvonne.han Yvonne Han
            Kiyoshi Lee Kiyoshi Lee
            Adolfo Pérez Adolfo Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 36 weeks, 4 days ago

              Packages

                Version Package
                7.3.X
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master