Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056039
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2024-07-17 10:062024-11-18 14:52
ReportershuehnerView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2024-03-06
Regression introduced in releasePR24Q1.1
Regression introduced by commithttps://gitlab.com/openbravo/product/dbsm/-/commit/a68e966b12feb9abd64b935a1a7d3899ed62e525 [^]
Triggers an Emergency PackNo
Summary

0056039: ant export.config.script fails when formalChangesScript.xml contains no formal changes

DescriptionIn issue 54490 we worked around in the betwixt library when being used with jd21.

We skipped writing list of changes to formalChangesScript.xml in case the list was empty.
However that caused the written xml file to be different (and broken)

Instead of the good content (when not having formal changeS)
 <?xml version="1.0"?>
  <vector/>

Instead it now contains just
 <?xml version="1.0"?>

In that case ant export.config.script fails with the following error:

[exportconfigscript] 38458 [main] INFO org.openbravo.ddlutils.task.ExportConfigScript - Loading script of formal changes
[exportconfigscript] 38532 [main] ERROR org.apache.commons.digester.Digester - Parse Fatal Error at line 2 column 1: Premature end of file.
[exportconfigscript] org.xml.sax.SAXParseException: Premature end of file.
Steps To Reproduceworkspace with only backoffice repo (without extra modules)
ant install.source
ant update.database (to generate formalChangesScript.xml)
psql
  update ad_module set isindevelopment = 'Y' where type = 'T'
ant export.config.script

[exportconfigscript] 19117 [main] ERROR org.apache.commons.digester.Digester - Parse Fatal Error at line 2 column 1: Premature end of file.
[exportconfigscript] org.xml.sax.SAXParseException: Premature end of file.
[exportconfigscript] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) ~[?:?]
[exportconfigscript] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) [?:?]
[exportconfigscript] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) [?:?]
[exportconfigscript] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) [?:?]
[exportconfigscript] at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465) [?:?]
TagsNo tags attached.
Attached Files? file icon formalChangesScript.xml.bad [^] (22 bytes) 2024-07-17 10:09
? file icon formalChangesScript.xml.good [^] (34 bytes) 2024-07-17 10:09

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0056729 newTriage Platform Base export.config.script produces wrong data when run with jdk21 (that causes later update.database to fail) 
caused by defect 0054490 closedTriage Platform Base update.database fails with jdk21 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0167051)
shuehner (administrator)
2024-07-17 10:07

Regression introduced by is set to 24Q1.1 as the change causing it was also backported to 24Q1.1 in 54526)
(0169648)
hgbot (developer)
2024-09-26 16:47

Merge Request created: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/49 [^]
(0169649)
hgbot (developer)
2024-09-26 16:47

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1360 [^]

- Issue History
Date Modified Username Field Change
2024-07-17 10:06 shuehner New Issue
2024-07-17 10:06 shuehner Assigned To => Triage Platform Base
2024-07-17 10:06 shuehner Modules => Core
2024-07-17 10:06 shuehner Regression level => Production - Confirmed Stable
2024-07-17 10:06 shuehner Regression date => 2024-03-06
2024-07-17 10:06 shuehner Regression introduced in release => PR24Q1.1
2024-07-17 10:06 shuehner Regression introduced by commit => https://gitlab.com/openbravo/product/dbsm/-/commit/a68e966b12feb9abd64b935a1a7d3899ed62e525 [^]
2024-07-17 10:06 shuehner Triggers an Emergency Pack => No
2024-07-17 10:07 shuehner Relationship added caused by 0054490
2024-07-17 10:07 shuehner Note Added: 0167051
2024-07-17 10:09 shuehner File Added: formalChangesScript.xml.bad
2024-07-17 10:09 shuehner File Added: formalChangesScript.xml.good
2024-09-26 15:46 AugustoMauch Assigned To Triage Platform Base => AugustoMauch
2024-09-26 16:34 AugustoMauch Steps to Reproduce Updated View Revisions
2024-09-26 16:45 AugustoMauch Status new => scheduled
2024-09-26 16:47 hgbot Note Added: 0169648
2024-09-26 16:47 hgbot Note Added: 0169649
2024-11-18 14:52 AugustoMauch Relationship added depends on 0056729


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker