Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056039 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2024-07-17 10:06 | 2024-11-18 14:52 | |||||||
Reporter | shuehner | View Status | public | |||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
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) [?:?] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | formalChangesScript.xml.bad [^] (22 bytes) 2024-07-17 10:09 formalChangesScript.xml.good [^] (34 bytes) 2024-07-17 10:09 | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||
|
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 |