[MAGNOLIA-5748] Restoring version created in M4.5.x doesn't work in M5 Created: 17/Apr/14  Updated: 16/Mar/21  Resolved: 16/Mar/21

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Milan Divilek Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-5734 Restoring previous page versions not ... 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)

 Description   

Restore/Preview version which was created in version 4.5.x doesn't work. It's caused by changes in metadata and by changes in images/documents (dms -> dam, in 4.5.x we also allow to upload images/documents directly to website/data/... workspace)

MetaData - to fix this it can be used info.magnolia.importexport.postprocessors.MetaDataImportPostProcessor. For example during copy source node in mgnlVersion repository to destination node in website/dam/data info.magnolia.cms.core.version.CopyUtil#copyFromVersion
images/documents - DAM module has many tasks for migrating to M5. see classes in info.magnolia.dam.setup.migration package.


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