Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||
0056039 | Openbravo ERP | A. Platform | public | 2024-07-17 10:06 | 2024-11-18 14:52 | |||||||||||||||||||
Reporter | shuehner | |||||||||||||||||||||||
Assigned To | AugustoMauch | |||||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||||||||||||||
Status | scheduled | Resolution | open | |||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||
Product Version | ||||||||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||||||||||||||
Regression date | 2024-03-06 | |||||||||||||||||||||||
Regression introduced in release | PR24Q1.1 | |||||||||||||||||||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/dbsm/-/commit/a68e966b12feb9abd64b935a1a7d3899ed62e525 [^] | |||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||
Summary | 0056039: ant export.config.script fails when formalChangesScript.xml contains no formal changes | |||||||||||||||||||||||
Description | In 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 Reproduce | workspace 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) [?:?] | |||||||||||||||||||||||
Proposed Solution | ||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||
Attached Files | formalChangesScript.xml.bad (22) 2024-07-17 10:09 https://issues.openbravo.com/file_download.php?file_id=20020&type=bug formalChangesScript.xml.good (34) 2024-07-17 10:09 https://issues.openbravo.com/file_download.php?file_id=20021&type=bug | |||||||||||||||||||||||
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 | bug_revision_view_page.php?rev_id=28511#r28511 | |||||||||||||||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|