migration fix
This commit is contained in:
parent
49f3da1314
commit
a73eef6529
|
@ -437,6 +437,7 @@ public class DescriptionTemplateXmlMigrationService {
|
||||||
try {
|
try {
|
||||||
return UUID.fromString(section.getPage()).equals(UUID.fromString(page.getId()));
|
return UUID.fromString(section.getPage()).equals(UUID.fromString(page.getId()));
|
||||||
} catch (Exception e){
|
} catch (Exception e){
|
||||||
|
if (section.getPage().toLowerCase(Locale.ROOT).equals(page.getId().toLowerCase(Locale.ROOT))) return true;
|
||||||
try {
|
try {
|
||||||
return Integer.parseInt(section.getPage().replace("page_", "")) == page.getOrdinal();
|
return Integer.parseInt(section.getPage().replace("page_", "")) == page.getOrdinal();
|
||||||
} catch (Exception e1){
|
} catch (Exception e1){
|
||||||
|
|
Loading…
Reference in New Issue