Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0041090 | Openbravo ERP | A. Platform | public | 2019-06-13 12:43 | 2019-06-17 19:39 |
|
| Reporter | alostale | |
| Assigned To | alostale | |
| Priority | normal | Severity | trivial | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | 3.0PR19Q3 | |
| Merge Request Status | |
| Review Assigned To | caristu |
| 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 | 0041090: missing log context info when setting an incorrect org in OBContext |
| Description | When trying to set in OBContext as default organization one that is not writable for the current role, the following warning message is logged:
The user 100 does not have write access to its current organization repairing that
This message lacks important information:
* Which role is using that user
* Which organization was originally set as default
* Which organization is finally set
* From which piece of code this was invoked (to help to fix it)
|
| Steps To Reproduce | Before fix for 0041088, run, for example, org.openbravo.test.webservice.WSReadTest.testPagedWhereClause test case.
-> Check in the log appears that warning message |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0041088 | | closed | alostale | incorrect organization warn message logged in some test cases | | blocks | design defect | 0036162 | | acknowledged | Triage Platform Base | clean up openbravo.log |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2019-06-13 12:43 | alostale | New Issue | |
| 2019-06-13 12:43 | alostale | Assigned To | => platform |
| 2019-06-13 12:43 | alostale | OBNetwork customer | => No |
| 2019-06-13 12:43 | alostale | Modules | => Core |
| 2019-06-13 12:43 | alostale | Triggers an Emergency Pack | => No |
| 2019-06-13 12:43 | alostale | Relationship added | related to 0041088 |
| 2019-06-13 12:43 | alostale | Assigned To | platform => alostale |
| 2019-06-13 13:37 | ngarcia | Issue Monitored: ngarcia | |
| 2019-06-14 09:36 | ivancaceres | Issue Monitored: ivancaceres | |
| 2019-06-17 08:43 | alostale | Summary | missing context info when setting an incorrect org in OBContext => missing log context info when setting an incorrect org in OBContext |
| 2019-06-17 08:44 | alostale | Relationship added | blocks 0036162 |
| 2019-06-17 09:08 | hgbot | Checkin | |
| 2019-06-17 09:08 | hgbot | Note Added: 0112802 | |
| 2019-06-17 09:08 | hgbot | Status | new => resolved |
| 2019-06-17 09:08 | hgbot | Resolution | open => fixed |
| 2019-06-17 09:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bc7561d6d981f467de80600c0edb0a9dada0572b [^] |
| 2019-06-17 09:09 | alostale | Review Assigned To | => caristu |
| 2019-06-17 13:06 | hgbot | Checkin | |
| 2019-06-17 13:06 | hgbot | Note Added: 0112816 | |
| 2019-06-17 13:32 | hudsonbot | Checkin | |
| 2019-06-17 13:32 | hudsonbot | Note Added: 0112818 | |
| 2019-06-17 13:54 | caristu | Note Added: 0112825 | |
| 2019-06-17 13:54 | caristu | Status | resolved => closed |
| 2019-06-17 13:54 | caristu | Fixed in Version | => 3.0PR19Q3 |
| 2019-06-17 19:39 | hudsonbot | Checkin | |
| 2019-06-17 19:39 | hudsonbot | Note Added: 0112842 | |
|
Notes |
|
|
(0112802)
|
|
hgbot
|
|
2019-06-17 09:08
|
|
Repository: erp/devel/pi
Changeset: bc7561d6d981f467de80600c0edb0a9dada0572b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jun 13 13:01:03 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bc7561d6d981f467de80600c0edb0a9dada0572b [^]
fixed bug 41090: missing context info if setting an incorrect org in OBContext
Including now in log:
* Identifiers together with IDs, ie. to know username in addtion to their ID
* Which role is using that user
* Which organization was originally set as default
* Which organization is finally set
* From which piece of code this was invoked (to help to fix it)
---
M src/org/openbravo/dal/core/OBContext.java
---
|
|
|
|
(0112816)
|
|
hgbot
|
|
2019-06-17 13:06
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|