Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0021405 | Openbravo ERP | 04. Warehouse management | public | 2012-08-21 10:46 | 2012-09-26 17:19 |
|
Reporter | gorkaion | |
Assigned To | naiaramartinez | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Gentoo |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0021405: Costing Background process cannot be executed by a role with limited access |
Description | The costing background process cannot be executed by a role that for example does not have access to the Product window. If a role is granted access to the process it should be able to run it.
The process do not show any error in the Process Monitor, but the logs show a
''Entity MaterialMgmtMaterialTransaction is not writable by this user'' error. |
Steps To Reproduce | 1. Create a manual role and give access to the Process Request and Process Monitor windows and the Costing migration process.
2. Ensure that there are transactions pending to calculate, if there isn't any create a shipment/inventory/movement with any other role.
3. Schedule the Costing migration process to be run immediately. using the new role.
4. Check in the logs that it shows an error like
|
Proposed Solution | 1. Fix the Costing Migration Process with a call to setAdminMode.
2. Fix the Costing Migration Process with a global catch to properly set the error message in the result bundle. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-08-21 10:46 | gorkaion | New Issue | |
2012-08-21 10:46 | gorkaion | Assigned To | => mirurita |
2012-08-21 10:46 | gorkaion | Modules | => Core |
2012-08-21 10:50 | gorkaion | Description Updated | bug_revision_view_page.php?rev_id=3734#r3734 |
2012-08-21 10:50 | gorkaion | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=3736#r3736 |
2012-08-21 10:50 | gorkaion | Proposed Solution updated | |
2012-08-22 13:21 | naiaramartinez | Assigned To | mirurita => naiaramartinez |
2012-08-22 13:30 | naiaramartinez | Status | new => scheduled |
2012-08-22 13:30 | naiaramartinez | fix_in_branch | => pi |
2012-09-11 12:04 | naiaramartinez | Note Added: 0051987 | |
2012-09-11 17:39 | naiaramartinez | Note Edited: 0051987 | bug_revision_view_page.php?bugnote_id=0051987#r3821 |
2012-09-13 12:45 | naiaramartinez | Note Edited: 0051987 | bug_revision_view_page.php?bugnote_id=0051987#r3844 |
2012-09-13 12:46 | hgbot | Checkin | |
2012-09-13 12:46 | hgbot | Note Added: 0052056 | |
2012-09-13 12:46 | hgbot | Status | scheduled => resolved |
2012-09-13 12:46 | hgbot | Resolution | open => fixed |
2012-09-13 12:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3292566b5a1bf439516d26f3cb35638e5effbb29 [^] |
2012-09-13 12:47 | dmiguelez | Closed by | => dmiguelez |
2012-09-13 12:47 | dmiguelez | Note Added: 0052057 | |
2012-09-13 12:47 | dmiguelez | Status | resolved => closed |
2012-09-26 17:19 | hudsonbot | Checkin | |
2012-09-26 17:19 | hudsonbot | Note Added: 0052741 | |
Notes |
|
(0051987)
|
naiaramartinez
|
2012-09-11 12:04
(edited on: 2012-09-13 12:45) |
|
Test Plan 1:
1. Create a manual role and give access to the Process Request and Process Monitor windows and the Costing background process.
2. Ensure that there are transactions pending to calculate, if there isn't any create a shipment/inventory/movement with any other role.
3. Schedule the Costing background process to be run immediately. using the new role.
4. Check in the logs(Process Monitor window) that process is completed succesfully.
Test Plan 2:
1.If in the code you try to comment the following line:
OBContext.setAdminMode(false);
2. Create a manual role and give access to the Process Request and Process Monitor windows and the Costing background process.
3. Ensure that there are transactions pending to calculate, if there isn't any create a shipment/inventory/movement with any other role.
4. Schedule the Costing background process to be run immediately. using the new role.
5. Check in the logs(Process Monitor window) that error is shown.
|
|
|
(0052056)
|
hgbot
|
2012-09-13 12:46
|
|
|
|
|
|
|
|
|