Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020527 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2012-05-16 17:30 | 2012-05-28 11:58 | |||
Reporter | mirurita | View Status | public | |||||
Assigned To | mirurita | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 46bcbbcf35c2 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020527: Alerts are not moved from New to Solved when they are created from a buildvalidation | |||||||
Description | updateAlert method in AlertProcess_data.xsql is comparing an string with null. AND STATUS != 'SOLVED' when STATUS is null it returns false. | |||||||
Steps To Reproduce | 1) Deactivate the c_conversion_rate_doc_trg2 trigger 2) Go to sales invoice >> Exchange Rates tab 3) Enter an exchange rate for EUR -> USD 4) Enter again the same exchange rate for EUR -> USD 5) execute ant smartbuild -Dlocal=no 6) The build process will fail and one alert will be created 7) Go to the application and remove exchange rate created in point 4) 8) Execute alert background process 9) The alert is not moved to SOLVED section | |||||||
Proposed Solution | Modify updateAlert method in AlertProcess_data.xsql Add a coalesce to status column AND COALESCE(STATUS, 'NEW') != 'SOLVED' | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0048708) mirurita (viewer) 2012-05-16 17:56 |
Testing Plan 1) Deactivate the c_conversion_rate_doc_trg2 trigger 2) Go to sales invoice >> Exchange Rates tab 3) Enter an exchange rate for EUR -> USD 4) Enter again the same exchange rate for EUR -> USD 5) execute ant smartbuild -Dlocal=no 6) The build process will fail and one alert will be created 7) Go to the application and remove exchange rate created in point 4) 8) Execute alert background process 9) The alert should be moved to SOLVED section |
(0048712) hgbot (developer) 2012-05-16 19:02 |
Repository: erp/devel/pi Changeset: 46bcbbcf35c2b5f9b5018add28fa5ca041a3215a Author: Mikel Irurita <mikel.irurita <at> openbravo.com> Date: Wed May 16 18:47:20 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/46bcbbcf35c2b5f9b5018add28fa5ca041a3215a [^] Fixes issue 20527: Alerts are not moved from New to Solved when status is null --- M src/org/openbravo/erpCommon/ad_process/AlertProcess_data.xsql --- |
(0049151) hudsonbot (viewer) 2012-05-25 12:12 |
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/5401e185a8b0 [^] Maturity status: Test |
(0049348) Sandrahuguet (viewer) 2012-05-28 11:58 |
testing OK |
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-16 17:30 | mirurita | New Issue | |
2012-05-16 17:30 | mirurita | Assigned To | => mirurita |
2012-05-16 17:30 | mirurita | Modules | => Core |
2012-05-16 17:30 | mirurita | OBNetwork customer | => No |
2012-05-16 17:55 | mirurita | Steps to Reproduce Updated | View Revisions |
2012-05-16 17:56 | mirurita | Note Added: 0048708 | |
2012-05-16 19:02 | hgbot | Checkin | |
2012-05-16 19:02 | hgbot | Note Added: 0048712 | |
2012-05-16 19:02 | hgbot | Status | new => resolved |
2012-05-16 19:02 | hgbot | Resolution | open => fixed |
2012-05-16 19:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/46bcbbcf35c2b5f9b5018add28fa5ca041a3215a [^] |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049151 | |
2012-05-28 11:58 | Sandrahuguet | Note Added: 0049348 | |
2012-05-28 11:58 | Sandrahuguet | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |