Uploaded image for project: 'Content Dependencies'
  1. Content Dependencies
  2. MGNLCDEP-133

Strange behavior regarding assets dependencies on removal

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      Steps to reproduce

      1.  Go to demo, open pages-app and create a basic page
      2.  Edit the page and within the main area, create a Text&Image component
      3. Within the Text tab, at the Rich text editor, click on "Link to DAM document" and select the asset /tours/shark_brian_warrick_0824.JPG
      4. Go to Assets app, select the asset /tours/shark_brian_warrick_0824.JPG and click on Delete item
      5. Check a warning is shown regarding dependencies with the page
      6. Proceed to delete the asset + publish deletion
      7. Go to pages-app and check that tho the link still exists, it is broken
      8. Back to assets-app, upload the /tours/shark_brian_warrick_0824.JPG asset
      9. Go to pages-app and check that the asset can be download sucesfully
      10. Go to Assets app, select the asset /tours/shark_brian_warrick_0824.JPG and click on Delete item
      11. Check that this time, no warning is shown regarding dependencies and the asset can be deleted without knowing is is referenced on a page

      Expected results

      The second time you try to delete the asset, a warning message is shown regarding dependencies

      Actual results

      The warning is only shown the first time, the second time you try to delete the asset there is no warning.

      Workaround

      N/A

      Development notes

      N/A

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ccantalapiedra Carlos Cantalapiedra
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoR