Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052739Retail ModulesWeb POSpublic2023-06-14 11:292023-06-20 08:12
hector_hernaez 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR19Q3.3 
RR23Q3 
No
0052739: Issue when the role in the POS does not have access to the C_IMPORT_ENTRY
When the role in the POS does not have access to the C_IMPORT_ENTRY table the line loading the import entry to set the data array with the orders processed in success fails.

This is the error we have seen in the logs

org.openbravo.base.exception.OBSecurityException: Entity C_IMPORT_ENTRY is not readable by the user CCC73BDF207C4245B78E711D8CA3F692
We have reproduced it in DKT PT but we have seen that the code is the same as it is in pmods.

- Complete a purchase
- Open the receipt
- Change the serial number to the product to a big one to generate an ewi
- Select Agile invoice for this receipt
- Complete the transaction
- An ewi will appear related to that change of serial number
- The positive transaction generates that ewi but once it is fixed, the poslog is generated.
- The negative transaction doesn't generate the ewi but the poslog neither
It is missing a setAdminMode in
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/src/org/openbravo/mobile/core/process/MobileImportEntryProcessorRunnable.java#L78 [^]
No tags attached.
related to defect 0049438 closed ranjith_qualiantech_com PostImportEntry is not being executed in some escenarios with multiple documents 
has duplicate defect 0052742 closed Retail PostImportEntry not being executed in some escenarios with multiple documents if the role doesn't have access to C_IMPORT_ENTRY 
Issue History
2023-06-14 11:29hector_hernaezNew Issue
2023-06-14 11:29hector_hernaezAssigned To => Retail
2023-06-14 11:29hector_hernaezTriggers an Emergency Pack => No
2023-06-14 12:53ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-06-14 13:50ngarciaRelationship addedhas duplicate 0052742
2023-06-14 13:50ngarciaRelationship addedcaused by 0049438
2023-06-14 14:04ngarciaIssue Monitored: ngarcia
2023-06-14 15:32ranjith_qualiantech_comStatusnew => scheduled
2023-06-15 09:55ngarciaRelationship replacedrelated to 0049438
2023-06-16 07:23hgbotNote Added: 0151246
2023-06-16 07:23hgbotNote Added: 0151247
2023-06-20 08:12hgbotNote Added: 0151342
2023-06-20 08:12hgbotNote Added: 0151343
2023-06-20 08:12hgbotResolutionopen => fixed
2023-06-20 08:12hgbotStatusscheduled => closed
2023-06-20 08:12hgbotNote Added: 0151344
2023-06-20 08:12hgbotFixed in Version => RR23Q3
2023-06-20 08:12hgbotNote Added: 0151345

Notes
(0151246)
hgbot   
2023-06-16 07:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/552 [^]
(0151247)
hgbot   
2023-06-16 07:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1246 [^]
(0151342)
hgbot   
2023-06-20 08:12   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c8044eab1ea97e61dee3176c8493702f0535baa7
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 20-06-2023 06:10:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c8044eab1ea97e61dee3176c8493702f0535baa7 [^]

Related to ISSUE-52739: Added AdminMode for EWI Save Action Handler

---
M src/org/openbravo/retail/posterminal/SaveDataActionHandler.java
---
(0151343)
hgbot   
2023-06-20 08:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1246 [^]
(0151344)
hgbot   
2023-06-20 08:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/552 [^]
(0151345)
hgbot   
2023-06-20 08:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: f822f1709c8ea2b5580aebb0766704de43a3b0b9
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 14-06-2023 19:02:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/f822f1709c8ea2b5580aebb0766704de43a3b0b9 [^]

Fixed ISSUE-52739: Added AdminMode for ImportEntryProcessor

---
M src/org/openbravo/mobile/core/process/MobileImportEntryProcessorRunnable.java
---