Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037499 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2017-12-16 18:15 | 2018-01-30 13:07 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 66c4a0c6f9c1 | ||||
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 | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037499: Remove unused feature to export ob_version + code_revision into xml files | |||||||
Description | The EntityXmlConverter has a feature to add 3 attributes to root 'Openbravo' element of files it is creating (ob-version, ob-revision, created). That is done by calling addSystemAttributes of the class. However the rewrite of the xml export done in commit (102ba22a81ca, 2009-02-12) did stop calling that method. No other caller of that protectod method can be found in pi or search in getAllModules. Apart the only code requesting that optional feature was the dataset xml export That export later has been switched over to a checksum of the exported content. As that is now dead code since 8 years remove that feature. As that removes the 3 attributes from the export also remove those from the generated XML-Schema which can be requested via /ws/dal/schema and the constants naming those attributes from XMLConstants. | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0102049) hgbot (developer) 2018-01-30 13:03 |
Repository: erp/devel/pi Changeset: 66c4a0c6f9c127775455a0d330453c0f67e0a7b3 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Sat Dec 16 18:26:08 2017 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/66c4a0c6f9c127775455a0d330453c0f67e0a7b3 [^] Fixed 37499. Remove unused feature to export code_revision to xml files. EntityXmlConverter has a feature to add 3 attributes to root 'Openbravo' element of files it is creating (ob-version, ob-revision, crated), by calling addSystemAttributes method. However rewrite of the xml export done in commit (102ba22a81ca, 2009-02-12) stopped calling that method. No other caller of that protected method can be found in pi or search in getAllModules today. Apart even before the only code requesting those attributes was the dataset xml export. That has been later switched over to checksum for exported content. As that is now dead code since 8 years remove that unused feature. --- M src-test/src/org/openbravo/test/xml/EntityXMLImportTestBusinessObject.java M src-test/src/org/openbravo/test/xml/EntityXMLImportTestSingle.java M src-test/src/org/openbravo/test/xml/UniqueConstraintImportTest.java M src-test/src/org/openbravo/test/xml/XMLBaseTest.java M src/org/openbravo/dal/xml/EntityXMLConverter.java M src/org/openbravo/dal/xml/ModelXMLConverter.java M src/org/openbravo/dal/xml/XMLConstants.java M src/org/openbravo/service/db/DataExportService.java --- |
(0102052) alostale (manager) 2018-01-30 13:07 |
reviewed |
Issue History | |||
Date Modified | Username | Field | Change |
2017-12-16 18:15 | shuehner | New Issue | |
2017-12-16 18:15 | shuehner | Assigned To | => platform |
2017-12-16 18:15 | shuehner | Modules | => Core |
2017-12-16 18:15 | shuehner | Triggers an Emergency Pack | => No |
2017-12-16 18:15 | shuehner | Relationship added | related to 0032688 |
2017-12-16 18:19 | shuehner | Relationship added | blocks 0037500 |
2018-01-30 12:59 | alostale | Relationship added | depends on 0037770 |
2018-01-30 13:01 | alostale | Assigned To | platform => shuehner |
2018-01-30 13:03 | hgbot | Checkin | |
2018-01-30 13:03 | hgbot | Note Added: 0102049 | |
2018-01-30 13:03 | hgbot | Status | new => resolved |
2018-01-30 13:03 | hgbot | Resolution | open => fixed |
2018-01-30 13:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/66c4a0c6f9c127775455a0d330453c0f67e0a7b3 [^] |
2018-01-30 13:07 | alostale | Review Assigned To | => alostale |
2018-01-30 13:07 | alostale | Note Added: 0102052 | |
2018-01-30 13:07 | alostale | Status | resolved => closed |
2018-01-30 13:07 | alostale | Fixed in Version | => 3.0PR18Q2 |
Copyright © 2000 - 2009 MantisBT Group |