Error during process migration to 6.4.2 from 7.8.4

Description

I'm migrating from 6.4.2 to 7.8.4.
The migration from 6.4.2 to 7.0.0 worked fine and the migration from 7.0.0 to 7.3.3 also worked fine.
The problem bellow has occured in the migration from 7.3.3 to 7.4.0.

[INFO] Execute migration to version 7.4.0
[INFO] ---------------
[INFO] | Execute migration step: Update process definition xml to the new 7.4 format
[ERROR]
failed to migrate process definition due to cvc-complex-type.2.4.a: Foi detectado um conteúdo inválido começando com o elemento 'displayDescription'. Era esperado um dos '{displayDescriptionAfterCompletion, defaultTransition}'.

I tried to import my .bos (6.4.2), using the Studio 7.3.0 but it didn't work. I tried doing this in other versions as welll, but it only worked in Studio 7.8

Environment

Windows 64 bits, Oracle 12.

External Link

None

Workaround

None

Activity

Show:
Antoine Mottier
June 17, 2019, 2:22 PM

It seems to be an issue in migration tool 2.40.0 that check a prerequisites for migration to 7.8.0 that is only valid when already migrated to 7.1.0.

So I tried to migrate to 7.7.5 and I'm able to reproduce your issue.

Now I'm actually investigating your issue.

Antoine Mottier
June 17, 2019, 3:25 PM

I see that we have some changes in the process definition XML file schema from version 7.3.3 to 7.4.0:

Exactly the stage at which your migration failed.

I think this issue is related to the following migration tool code:
./src/main/groovy/org/bonitasoft/migration/version/to7_4_0/MigrateProcessDefinitionXmlWithXSD.groovy

and

./src/main/resources/version/to_7_4_0/ProcessDefinition.xsl

But I cannot exactly pin point the issue so I opened an issue in our internal tracker and asked R&D to investigate it.

Thanks a lot for reporting this issue.

Claudio Carvalho
June 17, 2019, 3:58 PM

I appreciate the effort and will be looking forward to any news.

Antoine Mottier
November 21, 2019, 10:09 AM

This issue will be fixed in migration tool version 2.46.0 that is due to be released with Bonita 7.10.0 on December 5.

Delphine Coille
March 6, 2020, 2:56 PM

The issue has been fixed and included in migration tool 2.46 released with 7.10.0. We will now close this issue as resolved.

Assignee

Antoine Mottier

Reporter

Claudio Carvalho

Affects versions

Reference

BS-19364

Fix versions

Configure