[MGNLDATA-245] ChangeDataDmsReferenceToDamMigrationTask is not supporting normal img property reference migration Created: 03/Feb/14  Updated: 13/Feb/14  Resolved: 03/Feb/14

Status: Closed
Project: Magnolia Data Module (closed)
Component/s: None
Affects Version/s: 2.2.1
Fix Version/s: 2.2.2

Type: Bug Priority: Major
Reporter: Eric Hechinger Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLRSSAGG-147 RSS Aggregator misses dependency on DAM Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Currently this task only support the following case:
If a node has a 'imgUUID' property, move from:

  • property sv:name="img" sv:type="String"
    • value = /demo-project/img/bk/Stage/v-light-4
  • property sv:name="imgUUID" sv:type="String"
    • value = 4c291aa5-9807-4bbe-b372-ce523f82e600

To:

  • property sv:name="img" sv:type="String"
    • value = /demo-project/img/bk/Stage/v-light-4 (will be adapted if required)
  • property sv:name="imgUUID" sv:type="String"
    • value = jcr:4c291aa5-9807-4bbe-b372-ce523f82e600

The task has also to handle the following case (standard):
If a node has a 'imgUUID' property AND has a property img = 'dms', move from:

  • property sv:name="img" sv:type="String"
    • value = dms
  • property sv:name="imgUUID" sv:type="String"
    • value = 4c291aa5-9807-4bbe-b372-ce523f82e600

To:

  • property sv:name="img" sv:type="String"
    • value = jcr:4c291aa5-9807-4bbe-b372-ce523f82e600e following case (standard):


 Comments   
Comment by Magnolia International [ 03/Feb/14 ]

In case of the RSS module some images are using in 4.5 this pattern:

     <sv:property sv:name="img" sv:type="String">
        <sv:value>/hackergotchis/christian-balaguer-jehle-64x64</sv:value>
      </sv:property>
      <sv:property sv:name="imgUUID" sv:type="String">
        <sv:value>9d32b8ba-31b7-498f-8959-6c3a10db304b</sv:value>
      </sv:property>

Sometimes the img property is present but empty and no imgUUID is present.

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