Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052739
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2023-06-14 11:292023-06-20 08:12
Reporterhector_hernaezView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR19Q3.3SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052739: Issue when the role in the POS does not have access to the C_IMPORT_ENTRY

DescriptionWhen 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
Steps To ReproduceWe 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
Proposed SolutionIt 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049438 closedranjith_qualiantech_com PostImportEntry is not being executed in some escenarios with multiple documents 
has duplicate defect 0052742 closedRetail PostImportEntry not being executed in some escenarios with multiple documents if the role doesn't have access to C_IMPORT_ENTRY 

-  Notes
(0151246)
hgbot (developer)
2023-06-16 07:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/552 [^]
(0151247)
hgbot (developer)
2023-06-16 07:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1246 [^]
(0151342)
hgbot (developer)
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 (developer)
2023-06-20 08:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1246 [^]
(0151344)
hgbot (developer)
2023-06-20 08:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/552 [^]
(0151345)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2023-06-14 11:29 hector_hernaez New Issue
2023-06-14 11:29 hector_hernaez Assigned To => Retail
2023-06-14 11:29 hector_hernaez Triggers an Emergency Pack => No
2023-06-14 12:53 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-06-14 13:50 ngarcia Relationship added has duplicate 0052742
2023-06-14 13:50 ngarcia Relationship added caused by 0049438
2023-06-14 14:04 ngarcia Issue Monitored: ngarcia
2023-06-14 15:32 ranjith_qualiantech_com Status new => scheduled
2023-06-15 09:55 ngarcia Relationship replaced related to 0049438
2023-06-16 07:23 hgbot Note Added: 0151246
2023-06-16 07:23 hgbot Note Added: 0151247
2023-06-20 08:12 hgbot Note Added: 0151342
2023-06-20 08:12 hgbot Note Added: 0151343
2023-06-20 08:12 hgbot Resolution open => fixed
2023-06-20 08:12 hgbot Status scheduled => closed
2023-06-20 08:12 hgbot Note Added: 0151344
2023-06-20 08:12 hgbot Fixed in Version => RR23Q3
2023-06-20 08:12 hgbot Note Added: 0151345


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker