[MGNLDAM-395] Uploaded images in website had different UID in public and author once the migration done. As a consequecnce, the activation failed Created: 14/Feb/14  Updated: 05/Mar/14  Resolved: 05/Mar/14

Status: Closed
Project: Magnolia DAM Module
Component/s: DAM Compatibility package
Affects Version/s: 1.2.2
Fix Version/s: 1.2.3

Type: Bug Priority: Major
Reporter: Magnolia International Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File dam.patch    
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   

Images uploaded to website pages were migrated to dam by migration. links updated. So pageA references dam:imgA. that's all good and well on the author. Same happens on public: migratiom is executed, then pageA references dam:imgA1. Since those migrated images are created by code, they have their own uuid. It all works until you activate pageA from author - then reference is then broken since imgA doesn't exist on public (migration generated a different uuid)



 Comments   
Comment by Eric Hechinger [ 14/Feb/14 ]

A possible solution would be to use import mechanism to create the Asset node in the dam workspace. By using import we have the possibility to define the new node identifier (for example use the identifier of the original binary node).

Patch added (of course the code my be optimize).

Comment by Milan Divilek [ 03/Mar/14 ]

Reopen: "moved_uploaded" images have wrong type now (mgnl:folder instead of mgnl:asset)

Generated at Mon Feb 12 04:59:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.