Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0018593 | Openbravo ERP | A. Platform | public | 2011-09-22 16:31 | 2011-10-12 01:59 |
| Reporter | roklenardic | ||||
| Assigned To | mtaal | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | 3.0MP4 | Fixed in Version | pi | ||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Web browser | Mozilla Firefox | ||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0018593: REST Webservice PUT method does not find objects | ||||
| Description | Here is the situation: # we have an entity FOO that belongs to a table with access level = client/org # we have a record in this table with the Organization set to OrgA (not *) # our Openbravo user has the default role that has access to * and OrgA, however, the default organization is set to * # if we use the following PUT call to this url: http://localhost:8180/openbravo/ws/dal/FOO [^] with this content: <Openbravo> <FOO id="FF8081813258436B0132584CECDC001C"> <entityProperty>B</entityProperty> </FOO> </Openbravo> the system returns this: <ob:error xmlns:ob="http://www.openbravo.com"><message>org.openbravo.service.web.InvalidContentException: [^] Exception when parsing entity FOO (FF8081813258436B0132584CECDC001C):Entity FOO with id FF8081813258436B0132584CECDC001C not found Caused by: Exception when parsing entity FOO (FF8081813258436B0132584CECDC001C):Entity FOO with id FF8081813258436B0132584CECDC001C not found</message></ob:error> and that happens because the search method does not look for the entity FF8081813258436B0132584CECDC001C within all orgs that the user has access to, but only the default one. | ||||
| Steps To Reproduce | see above | ||||
| Proposed Solution | Extend the search so that it looks for the entity requested for UPDATE/PUT within all orgs that a user has access to. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-09-22 16:31 | roklenardic | New Issue | |||
| 2011-09-22 16:31 | roklenardic | Assigned To | => mtaal | ||
| 2011-09-22 16:31 | roklenardic | Web browser | => Mozilla Firefox | ||
| 2011-09-22 16:31 | roklenardic | Modules | => Core | ||
| 2011-09-22 16:31 | roklenardic | OBNetwork customer | => No | ||
| 2011-09-22 16:33 | hgbot | Checkin | |||
| 2011-09-22 16:33 | hgbot | Note Added: 0041238 | |||
| 2011-09-22 16:33 | hgbot | Status | new => resolved | ||
| 2011-09-22 16:33 | hgbot | Resolution | open => fixed | ||
| 2011-09-22 16:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1912a8ab2d98c41db96a97900e0b268e708115f7 [^] | ||
| 2011-09-22 17:48 | roklenardic | Note Added: 0041239 | |||
| 2011-09-22 17:48 | roklenardic | Status | resolved => closed | ||
| 2011-09-22 17:48 | roklenardic | Fixed in Version | => pi | ||
| 2011-10-12 01:59 | hudsonbot | Checkin | |||
| 2011-10-12 01:59 | hudsonbot | Note Added: 0041694 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||