Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0018682 | Openbravo ERP | 01. General setup | public | 2011-10-04 09:36 | 2011-10-25 12:31 |
|
| Reporter | jecharri | |
| Assigned To | egoitz | |
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | pi | |
| Target Version | 3.0MP5 | Fixed in Version | 3.0MP5 | |
| 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 | 0018682: The trigger asociated to alert creation is not working properly |
| Description | If you create an alert, automatically System Role is added to alert recipient.
And you can not delete it. |
| Steps To Reproduce | Create an alert and go to tab alert recipient. |
| Proposed Solution | Change the trigger AD_ALERTRULE_TRG.xml
Line:
--insert permissions
FOR Cur_Role in (SELECT DISTINCT AD_Role_ID, AD_CLIENT_ID, AD_ORG_ID
FROM AD_Role
WHERE isManual='N') loop
|
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | depends on | backport | 0018683 | 2.50MP35 | closed | egoitz | The trigger asociated to alert creation is not working properly |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2011-10-04 09:36 | jecharri | New Issue | |
| 2011-10-04 09:36 | jecharri | Assigned To | => jonalegriaesarte |
| 2011-10-04 09:36 | jecharri | Web browser | => Google Chrome |
| 2011-10-04 09:36 | jecharri | Modules | => Core |
| 2011-10-04 09:36 | jecharri | OBNetwork customer | => Yes |
| 2011-10-04 09:36 | jecharri | Support ticket | => 12716 |
| 2011-10-04 09:36 | jecharri | Resolution time | => 1320447600 |
| 2011-10-04 09:36 | jecharri | Status | new => scheduled |
| 2011-10-04 09:36 | jecharri | fix_in_branch | => pi |
| 2011-10-04 10:52 | jecharri | Note Added: 0041481 | |
| 2011-10-19 09:14 | jonalegriaesarte | Assigned To | jonalegriaesarte => egoitz |
| 2011-10-20 11:41 | hgbot | Checkin | |
| 2011-10-20 11:41 | hgbot | Note Added: 0041949 | |
| 2011-10-20 11:41 | hgbot | Status | scheduled => resolved |
| 2011-10-20 11:41 | hgbot | Resolution | open => fixed |
| 2011-10-20 11:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3a6f19206961b8ef4908a8604656f62da178759b [^] |
| 2011-10-23 13:42 | hudsonbot | Checkin | |
| 2011-10-23 13:42 | hudsonbot | Note Added: 0042027 | |
| 2011-10-25 12:31 | jecharri | Note Added: 0042092 | |
| 2011-10-25 12:31 | jecharri | Status | resolved => closed |
| 2011-10-25 12:31 | jecharri | Fixed in Version | => 3.0MP5 |
|
Notes |
|
|
|
If you execute the next sql in your database you will delete all alertrecipient with bad roles asociated:
DELETE FROM ad_alertrecipient WHERE ad_alertrecipient_id in (SELECT ad_alertrecipient_id
FROM ad_alertrecipient aa INNER JOIN ad_alertrule ar ON aa.ad_alertrule_id=ar.ad_alertrule_id
WHERE aa.ad_client_id <> ar.ad_client_id) |
|
|
|
(0041949)
|
|
hgbot
|
|
2011-10-20 11:41
|
|
|
|
|
|
|
|
|
|
|