[MGNLDAM-354] MoveContentToDamMigrationTask should only handle the binary file if all properties are present. Created: 04/Dec/13  Updated: 11/Dec/13  Resolved: 04/Dec/13

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.2
Fix Version/s: 1.2.1

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

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

 Description   

Only convert to Asset an uploaded file if all property and node are present.
If the link field is called 'teaserImg'

  • teaserImg property has to be present with a value 'upload'
  • teaserImgBinary sub node of type binary has to exist.

Only do the migration if this two conditions are present.

Remove the current code that allows to match teaserImg with teaserImgxxxBinary.


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