[MGNLDAM-296] Add a migration task for images uploaded with the FCK editor Created: 28/Aug/13  Updated: 22/Aug/17  Resolved: 17/Oct/13

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.0, 1.0.1, 1.0.2
Fix Version/s: 1.1.1

Type: Task Priority: Neutral
Reporter: Eric Hechinger Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: 4.5_to_5_migration
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-5381 Change the link API/Functionalities i... Open
relates to MGNLSTK-1248 Add new Content migration task to the... Closed
relates to MGNLDAM-721 Remove dms workspace declaration and ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Currently the images uploaded with the FCK editor are stored in the website workspace.
No migration task handle these images (they should be moved from the workspace website to DAM)

  • How is the image stored:
    When you add an image from the FCK Editor, it will create a in the component a node text_files/files where the binaries are stored.
    In the text property there is a reference to the binary.


 Comments   
Comment by Eric Hechinger [ 09/Oct/13 ]

In order to found test that has an 'embedded' image:

  • a property has to have the following string:
    ${link:{uuid:{
  • the parent node has to have a child node called
    text_files
    primary type mgnl:area
  • this child node has one or more mgnl:contentNode nodes (named file, file0, ...)
  • this file node has a child named
    document
    primary type mgnl:resource

Task:

  • Create an Asset based on the file node
  • Rename the link (defined in the text)
    • from
      ${link:{uuid: {0fa615af-207d-4a45-a3aa-9103d76e54d9}

      ,repository:

      {website}

      ,handle:

      {/demo-project/about/subsection-articles/article/content/00/text_files/file}

      ,nodeData:

      {document}

      ,extension:

      {jpg}}}"
      – to
      ${link:{uuid:{assetUuid(jcr:xxxxxxx)},repository:{dam},handle:{assetpath},nodeData:{resource},extension:{jpg}

      }}"

Comment by Mikaël Geljić [ 17/Oct/13 ]
  • Remove or deprecate old MoveUploadedContentToDamMigrationTask that was renamed
  • More importantly if there are such non-binary compatible refactorings, target version should be 1.2
Generated at Mon Feb 12 04:58:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.