Migration fails - MG

Description

Overview:

Migration scripts (mappings and jobs profiles) for mod-data-export 4.5.0 (MG) don't work (skipped).

Steps to Reproduce:

Expected Results:
Migration script passed successfully.

Actual Results:
Error mentioned in Overview.

Additional Information:
URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Viachaslau Khandramai July 19, 2022 at 9:03 AM

 , thank you!

Closing as done.

Vasili Kapylou July 18, 2022 at 11:13 AM

Hi !

After the migration of mod-data-export-4.4.2 to 4.5.0 version we faced the problem with migrations scripts that was not performed any needed changes in the mod-data-export schema, but with rapid and excellent help from Viachaslau Khandramai and guys from Firebird team we quickly fix this issue by releasing new patch version of the module (mod-data-export-4.5.1). 
After updating module mod-data-export-4.5.0 to 4.5.1 version the migration scripts are fully executed and performed all expected changes.

For example, one of the changes that we can see in the DB schema is the new field "default":

{
  "id": "*****",
  "name": "*****",
  "default": false,
  "metadata": {
    "createdDate": "2020-11-19T04:30:06.727",
    "updatedDate": "2020-11-19T04:30:06.727+00:00",
    "createdByUserId": "*****",
    "updatedByUserId": "*****"
  },
  "userInfo": {
    "lastName": "*****",
    "userName": "*****",
    "firstName": "*****"
  },
  "mappingProfileId": "*****"
}

Additional OKAPI log:
{
"id":"mod-data-export-4.5.1",
"from":"mod-data-export-4.5.0",
"action":"enable",
"stage":"done"
}
 

Viachaslau Khandramai July 18, 2022 at 10:43 AM

Hi  ,  , I assume we can close it as done because MG env was successfully updated with new release version this was the initial request.

 can confirm that module was successfully migrated and migration scripts passed without issues.

 

Thanks,

Slava

Magda Zacharska July 15, 2022 at 8:56 PM

Hi - how do we know that the fix resolved the problem?

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 15, 2022 at 6:47 AM
Updated September 26, 2022 at 6:45 AM
Resolved July 19, 2022 at 9:03 AM
TestRail: Cases
TestRail: Runs