[MGNLDAM-794] Incorrect status icons after moving folder with assets and publ.inc.subnodes Created: 21/Jun/19  Updated: 09/Aug/21  Resolved: 09/Aug/21

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 2.4.1, 2.5
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Ervin Vystup Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File dam.TestFolder.xml    
Issue Links:
dependency
duplicate
is duplicated by PUBLISHING-82 Wrong order of nodes after publishing... Closed
relation
is related to MGNLUI-5257 Provide push support in Admincentral Closed
is related to PAGES-310 Refresh status column indicators in t... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Let's suppose you have a folder containing assets with a version/s that were published separately and therefore contains the "lastActivated" and the "lastActivatedVersionCreated" properties.

If you move such a folder and then you click "Publish incl. subnodes", the status icons of the assets with version/s will turn yellow, even though they are correctly published to the public instance. In contrast, the assets without version/s are also published, but show the green icon.

In this case unpublishing and re-publishing incl. subnodes doesn't help. To see have the assets with version/s green, you have to publish all of them separately.

This will update the above-mentioned properties and the status icons will then work correctly for all the actions you do. However, only until you move the folder again.

Steps to reproduce:

  1. open the "Assets" app 
  2. create a folder and upload some images into (you can also import this testing structure via JCR Tools app: dam.TestFolder.xml)
  3. publish the folder
  4. publish some of the assets in the folder separately
  5. publish the rest of the assets by "Publish incl. subnodes" (the folder and all assets have a green status icon)
  6. move the folder to some other place (status icons of the folder and all assets change to yellow)
  7. click "Publish incl. subnodes" -> Assets without version - green status icon. Assets with version -> incorrect yellow icon.
  8. publish the assets with version separately - it updates properties of the assets and status icons start to display correctly (unpublishing and re-publishing incl. subnode have no effect and icons are still incorrect)
  9. be happy that it works now  ... but not for too long... move the folder again to some other place -> it throws you back to point 6


 Comments   
Comment by Roman Kovařík [ 12/Mar/21 ]

evystup Is this still the case on latest https://demo.magnolia-cms.com/.magnolia/admincentral#app:dam?

Comment by Ervin Vystup [ 04/May/21 ]

Hi rkovarik
I just tried to reproduce it on the current demo and I finished at point 6. move the folder to some other place (status icons of the folder and all assets change to yellow) -> I moved the folder but the icons are still green.

Comment by Roman Kovařík [ 29/Jun/21 ]

jsimak should we move this to publishing?

Comment by Ervin Vystup [ 09/Aug/21 ]

Hi rkovarik. I have just re-tested it in the current demo (6.2.11) and it works well there. Thus, I think that this ticket could be closed.

Generated at Mon Feb 12 05:03:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.