Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029427 | Openbravo ERP | A. Platform | public | 2015-03-26 11:55 | 2015-03-27 02:12 |
|
Reporter | NaroaIriarte | |
Assigned To | NaroaIriarte | |
Priority | urgent | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029427: It is possible to modify the object of the enum class ExporType. |
Description | It is possible to modify the object of the singleton. It is an object which belongs to an enum, and it is shared in all the instances, so, we do not want it to be modified. |
Steps To Reproduce | Everywhere in the code it is possible to call the method "getExportParameters" of the "ExportType" enum, and using the method "put" of the Map for adding new values, it is modified. Executing the following code:
exportType.getExportParameters().put("ab", "ll");
Now the object it is modified. This should be avoided.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0026763 | | closed | gorkaion | Ability to launch reports from process definitions | related to | defect | 0029441 | | closed | NaroaIriarte | Exporting to XLS does not work in the new ReportingUtils class |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-03-26 11:55 | NaroaIriarte | New Issue | |
2015-03-26 11:55 | NaroaIriarte | Assigned To | => NaroaIriarte |
2015-03-26 11:55 | NaroaIriarte | Modules | => Core |
2015-03-26 11:55 | NaroaIriarte | Triggers an Emergency Pack | => No |
2015-03-26 15:24 | alostale | Review Assigned To | => alostale |
2015-03-26 15:27 | alostale | Relationship added | related to 0026763 |
2015-03-26 15:30 | hgbot | Checkin | |
2015-03-26 15:30 | hgbot | Note Added: 0076014 | |
2015-03-26 15:30 | hgbot | Status | new => resolved |
2015-03-26 15:30 | hgbot | Resolution | open => fixed |
2015-03-26 15:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b3dfa72fa77f6f9e857de9b37af6b7f292025b64 [^] |
2015-03-26 15:32 | alostale | Note Added: 0076017 | |
2015-03-26 15:32 | alostale | Status | resolved => closed |
2015-03-26 15:32 | alostale | Fixed in Version | => 3.0PR15Q2 |
2015-03-27 02:12 | hudsonbot | Checkin | |
2015-03-27 02:12 | hudsonbot | Note Added: 0076044 | |
2015-03-27 13:38 | NaroaIriarte | Relationship added | related to 0029441 |