Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049544 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2022-06-13 22:04 | 2022-06-23 18:20 | |||
Reporter | axelmercado | View Status | public | |||||
Assigned To | axelmercado | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | RR20Q3.4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | RR20Q3.4 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | caristu | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 43112 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049544: Problem in the ExportOrder call with a user containing a role with the "Restrict backend access" check enabled. | |||||||
Description | An error is generated when making an API call to obtain an order with a user with restricted access to the backend. | |||||||
Steps To Reproduce | 1-Generate a role with the following attributes and assign it to a user: *User Level= Client+Organization *Check "Is Web Service Enabled" = 'Y' *Check "Restrict backend access" = 'Y' *Check "Client Administrator" = 'Y' 2-Send an API call through the following endpoint: "https://{{OPENBRAVO_URL}}/openbravo/org.openbravo.mobile.core.service.jsonrest/org.openbravo.retail.posterminal.ExportOrder" [^] and the authentication of the user with the role previusly created. 3-If we uncheck "Restrict backend access" the call works correctly, although this should not be a problem. | |||||||
Tags | NOR | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0138362) caristu (viewer) 2022-06-15 10:52 |
Reassigning it to the Retail team as this is the ExportOrder web services exposed by the posterminal module. Apart from this could you provide the stack trace of the error that you are receiving? I'm not able to reproduce the problem in an standard environment. |
(0138385) axelmercado (viewer) 2022-06-15 20:06 |
I attach an image of the error. |
(0138436) caristu (viewer) 2022-06-16 16:55 |
Can't you provide the error stack trace from the log? That would help to identify the root cause of the error, because that message seems not to be coming from the standard sources. |
(0138652) axelmercado (viewer) 2022-06-22 19:19 |
I attach a stacktrace with the error |
(0138695) caristu (viewer) 2022-06-23 12:46 |
In pi that stack trace is not followed because of the following fix[1], that prevents reaching the part of the code which is throwing the exception. Is that fix present in the environment where the problem is reproduced? [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c9c8815d52435b521dd1805c532c71bc99dd5d34 [^] |
(0138696) axelmercado (viewer) 2022-06-23 13:38 |
I checked it and they don't have that patch |
(0138697) axelmercado (viewer) 2022-06-23 13:39 |
We reproduce the error in a pristine in client version |
(0138699) caristu (viewer) 2022-06-23 13:48 |
Can you please confirm that by applying the patch[1] the problem gets fixed? [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c9c8815d52435b521dd1805c532c71bc99dd5d34 [^] |
(0138703) axelmercado (viewer) 2022-06-23 16:54 |
I applied the patch and it works |
(0138712) caristu (viewer) 2022-06-23 18:20 |
Already fixed by 0044564 |
![]() |
|||
Date Modified | Username | Field | Change |
2022-06-13 22:04 | axelmercado | New Issue | |
2022-06-13 22:04 | axelmercado | Assigned To | => Triage Platform Conn |
2022-06-13 22:04 | axelmercado | OBNetwork customer | => Gold |
2022-06-13 22:04 | axelmercado | Support ticket | => 43112 |
2022-06-13 22:04 | axelmercado | Triggers an Emergency Pack | => No |
2022-06-13 23:21 | rafaroda | Tag Attached: NOR | |
2022-06-15 10:52 | caristu | Note Added: 0138362 | |
2022-06-15 10:52 | caristu | Assigned To | Triage Platform Conn => Retail |
2022-06-15 10:52 | caristu | Category | Retail API => Web POS |
2022-06-15 10:52 | caristu | Assigned To | Retail => axelmercado |
2022-06-15 10:52 | caristu | Status | new => feedback |
2022-06-15 11:01 | caristu | Relationship added | related to 0048976 |
2022-06-15 11:35 | caristu | Relationship deleted | related to 0048976 |
2022-06-15 20:06 | axelmercado | Note Added: 0138385 | |
2022-06-15 20:06 | axelmercado | File Added: example1.png | |
2022-06-16 16:12 | axelmercado | Status | feedback => new |
2022-06-16 16:13 | axelmercado | Assigned To | axelmercado => Retail |
2022-06-16 16:55 | caristu | Note Added: 0138436 | |
2022-06-16 16:55 | caristu | Assigned To | Retail => axelmercado |
2022-06-16 16:55 | caristu | Status | new => feedback |
2022-06-22 19:19 | axelmercado | Note Added: 0138652 | |
2022-06-22 19:19 | axelmercado | File Added: stacktraceerrorapi.txt | |
2022-06-22 19:19 | axelmercado | Status | feedback => new |
2022-06-23 12:46 | caristu | Note Added: 0138695 | |
2022-06-23 12:46 | caristu | Status | new => feedback |
2022-06-23 13:38 | axelmercado | Note Added: 0138696 | |
2022-06-23 13:38 | axelmercado | Status | feedback => new |
2022-06-23 13:39 | axelmercado | Note Added: 0138697 | |
2022-06-23 13:48 | caristu | Note Added: 0138699 | |
2022-06-23 13:48 | caristu | Status | new => feedback |
2022-06-23 16:54 | axelmercado | Note Added: 0138703 | |
2022-06-23 16:54 | axelmercado | Status | feedback => new |
2022-06-23 18:20 | caristu | Review Assigned To | => caristu |
2022-06-23 18:20 | caristu | Note Added: 0138712 | |
2022-06-23 18:20 | caristu | Status | new => closed |
2022-06-23 18:20 | caristu | Resolution | open => fixed |
2022-06-23 18:20 | caristu | Relationship added | related to 0044564 |
Copyright © 2000 - 2009 MantisBT Group |