Error occur when migrate new document model 23.1.0

Hi all,

Currently i’m trying to migrate my model to 23.1.2. the error message are:

java -jar /Users/tuando/Documents/documents/work/A12/v23.1.0/document-model-migration-23.1.2-jar-with-dependencies.jar -b  /Users/tuando/Documents/project/internal/catchme3/catchme3-app-parent/catchme3-app-server/src/main/resources/com/mgmtp/catchme3/documentmodels/DomainCandidate.xml
Could not create backup file: /Users/tuando/Documents/project/internal/catchme3/catchme3-app-parent/catchme3-app-server/src/main/resources/com/mgmtp/catchme3/documentmodels/DomainCandidate.xml.bak
Migration for '/Users/tuando/Documents/project/internal/catchme3/catchme3-app-parent/catchme3-app-server/src/main/resources/com/mgmtp/catchme3/documentmodels/DomainCandidate.xml' failed!
Errors:
	com.mgmtp.a12.model.data.document.migration.MigrationError@41ee392b[errorType=MODEL_CONTENT_RESULT_INVALID_XML,elementId=<null>,message=result is not schema valid: Error on line 2: cvc-maxInclusive-valid: Value '999999' is not facet-valid with respect to maxInclusive '65535' for type 'unsignedShort'.]

If someone knows it then please let me know,
Tuan Do
document-model-migration-23.1.2-jar-with-dependencies.jar (5.3 MB)
DomainCandidate.xml (37.5 KB)
Candidate-overview.xml (2.6 KB)
Candidate.xml (15.2 KB)

Hi I tried to find value 999999 inside the model then change it to 65535 and it’s ok

I also run into this problem every time I migrate models from a project, where the model properties cannot be changed to 65535. Right now, I apply this workaround, migrate the model and then reset it to its original value.

The modeling tools and form engine have no problem with numbers greater than 65535, so I would appreciate that the migration tools can deal with those larger numbers as well.

I found a ticket that Jan created regarding this issue: [A12K-515]<INTERNAL_LINK>