Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036418Retail ModulesWeb POSpublic2017-06-29 18:412017-09-21 07:32
montesm 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR17Q3RR17Q3 
marvintm
No
0036418: [SERQA 3065] Error in registering an order (Layaway)
Error in registering an Layaway with a specific user-role:
"No access to a table Entity C_Import_Entry_Archive is not readable by the user"
To reproduce in livebuilds:
*Configure the Synchronized Mode preference
*In webpos, change the role to VallBlancaManual

- In the menu, click on User
- Select the role VallBlancaManual
- Create a layaway
- Confirm by clicking on the layaway

*An error occurs:No access to a table Entity C_Import_Entry_Archive is not readable by the user

See video:
https://drive.google.com/file/d/0BzvGPDyh8Nh4eEYza1oyTWxQaFU/view [^]
After changes to issue 0036033 whenever a ticket is synchronized an import entry archive is generated to prevent processing the same ticket twice.
It seems that the code in charge of doing this[1] is missing a call to SetAdminMode to prevent these errors

[1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java#l142 [^]
No tags attached.
blocks defect 0036374 closed ranjith_qualiantech_com [SERQA 3065] Error in registering an order (Layaway) 
Issue History
2017-07-05 13:43marvintmTypedefect => backport
2017-07-05 13:43marvintmTarget Version => RR17Q3
2017-07-05 14:51hgbotCheckin
2017-07-05 14:51hgbotNote Added: 0097872
2017-07-05 14:51hgbotStatusscheduled => resolved
2017-07-05 14:51hgbotResolutionopen => fixed
2017-07-05 14:51hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c777ecb0e578e0ef3e5c616f168df5a2dd973077 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/6310b09c98e5211904ef3572118ba61aa1bfdf31 [^]
2017-07-05 14:51hgbotCheckin
2017-07-05 14:51hgbotNote Added: 0097873
2017-09-15 13:26marvintmReview Assigned To => marvintm
2017-09-15 13:26marvintmStatusresolved => closed
2017-09-15 13:26marvintmFixed in Version => RR17Q3
2017-09-21 07:32hgbotCheckin
2017-09-21 07:32hgbotNote Added: 0099194

Notes
(0097872)
hgbot   
2017-07-05 14:51   
Repository: retail/backports/3.0RR17Q3/org.openbravo.mobile.core
Changeset: 6310b09c98e5211904ef3572118ba61aa1bfdf31
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jul 05 18:20:36 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/6310b09c98e5211904ef3572118ba61aa1bfdf31 [^]

Fixed issue 36418 : Added Adminmode while creating ImportEntryArchive in MultiServer process

---
M src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java
---
(0097873)
hgbot   
2017-07-05 14:51   
Repository: retail/backports/3.0RR17Q3/pi-mobile
Changeset: 1cca26ad98ce2ba053649339ab371c47cd6f8365
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jul 05 18:20:44 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/pi-mobile/rev/1cca26ad98ce2ba053649339ab371c47cd6f8365 [^]

Verifies issue 36418 : Added automated test 'I36418_VerifyLayawayWithDifferentUserRole'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36418_VerifyLayawayWithDifferentUserRole.java
---
(0099194)
hgbot   
2017-09-21 07:32   
Repository: tools/automation/pi-mobile
Changeset: 1cca26ad98ce2ba053649339ab371c47cd6f8365
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jul 05 18:20:44 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1cca26ad98ce2ba053649339ab371c47cd6f8365 [^]

Verifies issue 36418 : Added automated test 'I36418_VerifyLayawayWithDifferentUserRole'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36418_VerifyLayawayWithDifferentUserRole.java
---