[MGNLMIGRATION-104] Repeated execution of basic migration scripts: Problem with existing backup folders. Created: 10/Oct/12  Updated: 28/Mar/13  Resolved: 28/Mar/13

Status: Closed
Project: Migration 4.4 to 4.5 (closed)
Component/s: None
Affects Version/s: 1.1.3
Fix Version/s: 1.2.2-beta1, 1.2.2

Type: Improvement Priority: Neutral
Reporter: wolf bubenik Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: ToDo_for_1_2_1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When executing the migration scripts the old version of ftl files are copied to a backup folder. If those folder exists already (repeating migration from scratch), the ftl-files will be migrated.



 Comments   
Comment by Philipp Bärfuss [ 08/Nov/12 ]

I think it should fail more gracefully but it should not overwrite any content nor process further.

Comment by Eric Hechinger [ 20/Dec/12 ]

@Robert, could you please check this?

Comment by Robert Šiška [ 14/Mar/13 ]

Current status:

When the template script is to be migrated, the existence of its backup is tested.

  • If it does exist, use this backup for migration.
  • If it doesn't exist, create the backup before migrating.

$TEMPLATE_PATH/module.bak/ contains all the original scripts that were touched by migration.

Comment by Jan Haderka [ 18/Mar/13 ]

junit tests?

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