Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036374Retail ModulesWeb POSpublic2017-06-29 18:412017-07-05 13:43
montesm 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR17Q3 
marvintm
No
0036374: [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.
depends on backport 0036418RR17Q3 closed ranjith_qualiantech_com [SERQA 3065] Error in registering an order (Layaway) 
Issue History
2017-06-29 18:41montesmNew Issue
2017-06-29 18:41montesmAssigned To => Retail
2017-06-29 18:41montesmTriggers an Emergency Pack => No
2017-07-04 10:19aaroncaleroResolution time => 1500328800
2017-07-04 10:29aaroncaleroProposed Solution updated
2017-07-04 10:55aaroncaleroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15457#r15457
2017-07-04 12:05ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-07-04 12:05ranjith_qualiantech_comStatusnew => scheduled
2017-07-04 12:45aaroncaleroIssue Monitored: aaroncalero
2017-07-04 16:07hgbotCheckin
2017-07-04 16:07hgbotNote Added: 0097842
2017-07-04 16:07hgbotStatusscheduled => resolved
2017-07-04 16:07hgbotResolutionopen => fixed
2017-07-04 16:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c777ecb0e578e0ef3e5c616f168df5a2dd973077 [^]
2017-07-04 16:08hgbotCheckin
2017-07-04 16:08hgbotNote Added: 0097843
2017-07-05 13:43marvintmStatusresolved => new
2017-07-05 13:43marvintmResolutionfixed => open
2017-07-05 13:43marvintmStatusnew => scheduled
2017-07-05 13:43marvintmStatusscheduled => resolved
2017-07-05 13:43marvintmFixed in Version => RR17Q3
2017-07-05 13:43marvintmResolutionopen => fixed
2017-07-05 13:43marvintmReview Assigned To => marvintm
2017-07-05 13:43marvintmStatusresolved => closed

Notes
(0097842)
hgbot   
2017-07-04 16:07   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c777ecb0e578e0ef3e5c616f168df5a2dd973077
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 04 19:37:03 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c777ecb0e578e0ef3e5c616f168df5a2dd973077 [^]

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

---
M src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java
---
(0097843)
hgbot   
2017-07-04 16:08   
Repository: tools/automation/pi-mobile
Changeset: 8245d6ec3d4c77a2930eb3bce868304897da06e6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 04 19:36:08 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8245d6ec3d4c77a2930eb3bce868304897da06e6 [^]

Verifies issue 36374 : Added automated test 'I36374_VerifyLayawayWithDifferentUserRole'

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