Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013732 | Openbravo ERP | 01. General setup | public | 2010-06-22 17:11 | 2010-07-27 15:41 |
Reporter | egoitz | ||||
Assigned To | sivaraman | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 2.50MP18 | ||||
Target Version | 2.50MP21 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0013732: The field where clause on the alert definition window does not work well if you want to refere to ad_user_id field | ||||
Description | The field where clause on the alert definition window does not work well if you want to refere to ad_user_id field. This happen because the ad_user_id column appear on the tables ad_alert and ad_alertrecipient you can not define the where clause as ad_user_id=@#ad_user_id@ because when accesing to the alert form you get an error with column ambiguosly defined. If you used the alias of the column used you can access to the form, but you get an error when modifying the counter of the alerts because the alias is not valid for that. | ||||
Steps To Reproduce | -Create an alert as following: select req.m_requisition_id as referencekey_id, req.documentno as record_id, 0 as ad_role_id, req.ad_user_id as ad_user_id, 'La solicitud '||req.documentno||' no tiene descripcion' as description, 'Y' as isActive, req.ad_org_id, req.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedby from m_requisition req where req.description is null; tab= Header - Requisition whereclause, = ad_user_id=@#ad_user_id@ -Go to requisition window and create a new requisition without description. -After receive the alert you won't be able to access to the alert form If you change the whereclause to a.ad_user_id=@#ad_user_id@ you can go to the form but the counter is not updated. If you chage to ad_alert.ad_user_id=@#ad_user_id@ you can not go to the form but the counter is updated. | ||||
Proposed Solution | Remove the alias of tables from the selects on the AlertManagement_data.xsql file | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-06-22 17:11 | egoitz | New Issue | |||
2010-06-22 17:11 | egoitz | Assigned To | => adrianromero | ||
2010-06-22 17:11 | egoitz | OBNetwork customer | => Yes | ||
2010-06-22 17:21 | egoitz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=524#r524 | ||
2010-06-23 13:16 | adrianromero | Status | new => scheduled | ||
2010-06-23 13:16 | adrianromero | fix_in_branch | => pi | ||
2010-07-21 08:48 | sivaraman | Assigned To | adrianromero => sivaraman | ||
2010-07-22 06:33 | hgbot | Checkin | |||
2010-07-22 06:33 | hgbot | Note Added: 0029458 | |||
2010-07-22 06:33 | hgbot | Status | scheduled => resolved | ||
2010-07-22 06:33 | hgbot | Resolution | open => fixed | ||
2010-07-22 06:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5013a579164c66dd1a2958daa8c823e10584db84 [^] | ||
2010-07-22 06:34 | sivaraman | Note Added: 0029460 | |||
2010-07-23 11:50 | sureshbabu | Note Added: 0029521 | |||
2010-07-23 11:50 | sureshbabu | Status | resolved => closed | ||
2010-07-24 00:00 | anonymous | sf_bug_id | 0 => 3033800 | ||
2010-07-27 15:41 | hudsonbot | Checkin | |||
2010-07-27 15:41 | hudsonbot | Note Added: 0029598 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|