Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018680 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 01. General setup | major | always | 2011-10-04 09:26 | 2011-10-25 16:51 | |||
Reporter | jecharri | View Status | public | |||||
Assigned To | egoitz | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP5 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 65a62d9914b0 | |||
Projection | none | ETA | none | Target Version | 3.0MP5 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | 12716 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0018680: Alert recipient work different when you put only the role or user | |||||||
Description | Alert recipient work different when you put only the role or user. When you put the role with the same client to the alert, all the user with this role receive an email (with the check of Send Email checked obiusly), it doesn't matter if the users are from different client. But if you put an user and this user is from different client to the alert definition, this user doesn't receive any mail. | |||||||
Steps To Reproduce | Create an alert: -SQL:select c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'esto es una prueba' as description, 'Y' as isActive, ad_org_id, ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier('C_invoice', C_invoice_id, 'es_ES') AS RECORD_ID, posted FROM C_invoice GROUP BY C_invoice_id, posted, ad_client_id, ad_org_id order by c_invoice_id desc limit 2 Go to tab alert recipient and select Openbravo Admin. Check the checkbox Send Email. Execute the alert background porcess See that all user of this role receive an email. Now put Openbravo user like end user. Run alert Process You will not receive any mail. | |||||||
Proposed Solution | In file AlertProcess_data.xsql delete the line: and ar.ad_client_id = u.ad_client_id | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0041948) hgbot (developer) 2011-10-20 11:30 |
Repository: erp/devel/pi Changeset: 65a62d9914b03ddbaccfae493edd2de7750a628d Author: Jon AlegrÃa <jon.alegria <at> openbravo.com> Date: Thu Oct 20 11:27:56 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/65a62d9914b03ddbaccfae493edd2de7750a628d [^] Fixes issue 0018680: Alert recipient work different when you put only the role or user --- M src/org/openbravo/erpCommon/ad_process/AlertProcess_data.xsql --- |
(0042026) hudsonbot (viewer) 2011-10-23 13:42 |
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/35bf0a7aa166 [^] Maturity status: Test |
(0042096) jecharri (viewer) 2011-10-25 16:51 |
Verified |
![]() |
|||
Date Modified | Username | Field | Change |
2011-10-04 09:26 | jecharri | New Issue | |
2011-10-04 09:26 | jecharri | Assigned To | => jonalegriaesarte |
2011-10-04 09:26 | jecharri | Web browser | => Google Chrome |
2011-10-04 09:26 | jecharri | Modules | => Core |
2011-10-04 09:26 | jecharri | OBNetwork customer | => Yes |
2011-10-04 09:26 | jecharri | Support ticket | => 12716 |
2011-10-04 09:26 | jecharri | Resolution time | => 1320447600 |
2011-10-04 09:28 | jecharri | Web browser | Google Chrome => Google Chrome |
2011-10-04 09:28 | jecharri | Description Updated | View Revisions |
2011-10-04 09:28 | jecharri | Steps to Reproduce Updated | View Revisions |
2011-10-04 09:28 | jecharri | Status | new => scheduled |
2011-10-04 09:28 | jecharri | fix_in_branch | => pi |
2011-10-19 09:13 | jonalegriaesarte | Assigned To | jonalegriaesarte => egoitz |
2011-10-20 11:30 | hgbot | Checkin | |
2011-10-20 11:30 | hgbot | Note Added: 0041948 | |
2011-10-20 11:30 | hgbot | Status | scheduled => resolved |
2011-10-20 11:30 | hgbot | Resolution | open => fixed |
2011-10-20 11:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/65a62d9914b03ddbaccfae493edd2de7750a628d [^] |
2011-10-23 13:42 | hudsonbot | Checkin | |
2011-10-23 13:42 | hudsonbot | Note Added: 0042026 | |
2011-10-25 16:51 | jecharri | Note Added: 0042096 | |
2011-10-25 16:51 | jecharri | Status | resolved => closed |
2011-10-25 16:51 | jecharri | Fixed in Version | => 3.0MP5 |
Copyright © 2000 - 2009 MantisBT Group |