Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030112 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | trivial | always | 2015-06-05 10:44 | 2015-06-10 15:42 | |||
Reporter | airaceburu | View Status | public | |||||
Assigned To | NaroaIriarte | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3ee5b64b9eab | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2012-04-02 | |||||||
Regression introduced in release | 3.0MP12 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/588bdc741142 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030112: When trying to save a data package with wrong java package the trigger shows a wrong ad_message | |||||||
Description | When trying to save a data package with wrong java package the trigger shows a wrong ad_message '@20102@' -> "Saving failed. Cannot delete/change line with generated Invoice". This happens when the java package of the module is not contained in the java package of the data package. Also the trigger (ad_package_jp_trg) has a duplicated where condition: WHERE M.AD_MODULE_ID = new.AD_MODULE_ID AND instr(upper(new.javapackage), upper(M.javapackage)) = 1 AND instr(upper(new.javapackage), upper(M.javapackage)) = 1; | |||||||
Steps To Reproduce | Create a module Create a data package whose java package does not contain the module java package | |||||||
Proposed Solution | Change the ad_message code Remove the repeated clause | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0078145) hgbot (developer) 2015-06-08 12:59 |
Repository: erp/devel/pi Changeset: 3ee5b64b9eab7fa476daec24dac96ae0d3636b2b Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com> Date: Mon Jun 08 12:58:32 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3ee5b64b9eab7fa476daec24dac96ae0d3636b2b [^] Fixed issue 30112: The message shown trying to save a datapackage isn't correct The problem was that the message associated to the label "20102" was not correct in this case. To fix this, a new message has been added to AD_MESSAGE, and now, the message 'The java package of the Data Package must be within the java package of its module.' is shown when the java package of the module is not contained in the java package of the data package. Also, the duplicated where clause has been removed from the trigger. This fix has been tested with postgres and also with oracle. --- M src-db/database/model/triggers/AD_PACKAGE_JP_TRG.xml M src-db/database/sourcedata/AD_MESSAGE.xml --- |
(0078149) hudsonbot (developer) 2015-06-08 22:24 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/eea55936e896 [^] Maturity status: Test |
(0078182) alostale (manager) 2015-06-10 15:42 |
code reviewed + tested |
Issue History | |||
Date Modified | Username | Field | Change |
2015-06-05 10:44 | airaceburu | New Issue | |
2015-06-05 10:44 | airaceburu | Assigned To | => platform |
2015-06-05 10:44 | airaceburu | Modules | => Core |
2015-06-05 10:44 | airaceburu | Regression level | => Production - Confirmed Stable |
2015-06-05 10:44 | airaceburu | Regression date | => 2012-04-02 |
2015-06-05 10:44 | airaceburu | Regression introduced in release | => 3.0MP12 |
2015-06-05 10:44 | airaceburu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/588bdc741142 [^] |
2015-06-05 10:44 | airaceburu | Triggers an Emergency Pack | => No |
2015-06-05 10:45 | airaceburu | Relationship added | caused by 0012599 |
2015-06-05 12:00 | alostale | Status | new => scheduled |
2015-06-05 12:00 | alostale | Assigned To | platform => NaroaIriarte |
2015-06-05 12:00 | alostale | Priority | normal => immediate |
2015-06-08 12:59 | hgbot | Checkin | |
2015-06-08 12:59 | hgbot | Note Added: 0078145 | |
2015-06-08 12:59 | hgbot | Status | scheduled => resolved |
2015-06-08 12:59 | hgbot | Resolution | open => fixed |
2015-06-08 12:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3ee5b64b9eab7fa476daec24dac96ae0d3636b2b [^] |
2015-06-08 13:01 | NaroaIriarte | Issue Monitored: alostale | |
2015-06-08 13:02 | NaroaIriarte | Review Assigned To | => alostale |
2015-06-08 22:24 | hudsonbot | Checkin | |
2015-06-08 22:24 | hudsonbot | Note Added: 0078149 | |
2015-06-10 15:42 | alostale | Note Added: 0078182 | |
2015-06-10 15:42 | alostale | Status | resolved => closed |
2015-06-10 15:42 | alostale | Fixed in Version | => 3.0PR15Q3 |
Copyright © 2000 - 2009 MantisBT Group |