Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044114Retail ModulesWeb POSpublic2020-05-20 07:212020-06-22 10:57
prakashmurugesan88 
prakashmurugesan88 
normalminorhave not tried
closedfixed 
5
 
RR20Q3 
marvintm
No
0044114: Test I34743_JSErrorShownInBPandBPLocationDetails failing in try
Test I34743_JSErrorShownInBPandBPLocationDetails failing in try with following error,

Error Message
(1) Errors in the OBMOBC_LOGCLIENT table: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Device --> VBS1001
Message -->
Error while fetching statistics data from server; stackTrace: Object.OB.UTIL.showError (http://127.0.0.1/try-ret-test-pgsql-suite8/web/js/gen/1590f1ffb5b3a70c24b27b35756c68d9.js:24302:6 [^]);
http://127.0.0.1/try-ret-test-pgsql-suite8/web/js/gen/1590f1ffb5b3a70c24b27b35756c68d9.js:117126:21; [^]
serviceError (http://127.0.0.1/try-ret-test-pgsql-suite8/web/js/gen/1590f1ffb5b3a70c24b27b35756c68d9.js:2173:7 [^]);
Object.fail [as origFail] (http://127.0.0.1/try-ret-test-pgsql-suite8/web/js/gen/1590f1ffb5b3a70c24b27b35756c68d9.js:2250:9 [^]);
Object.ajaxRequest.fail (http://127.0.0.1/try-ret-test-pgsql-suite8/web/js/gen/1590f1ffb5b3a70c24b27b35756c68d9.js:3659:33 [^]);
Object.receive (http://127.0.0.1/try-ret-test-pgsql-suite8/web/org.openbravo.mobile.core/build/enyo.js:1034:62 [^]);
XMLHttpRequest.e.onreadystatechange (http://127.0.0.1/try-ret-test-pgsql-suite8/web/org.openbravo.mobile.core/build/enyo.js:962:24 [^])



https://ci.openbravo.com/job/try-ret-test-pgsql-suite8/10588/testReport/junit/org.openbravo.test.mobile.retail.pack.selenium.tests.offline/I34743_JSErrorShownInBPandBPLocationDetails/test/ [^]
Try running the test Test I34743_JSErrorShownInBPandBPLocationDetails offline.

Seems there is problem with organization.

Log has following error,

2020-05-18 23:55:39,958 [Import Entry - 6] WARN org.openbravo.dal.core.OBContext - User ADUser(3073EDF96A3C42CC86C7069E379522D2) (name: Vall Blanca Store User) with role ADRole(5FA11B3DD8F04C0986C774624809C31E) (name: VallBlancaUser) does not have write access to its current organization Organization(67839EEFA49E44AC969BD60093FCC899) (name: The White Valley Group). Setting current organization to Organization(65C1C46FB1D04CBD98CBD4167CCFE600) (name: Vall BoĆ­ Store)
java.lang.Exception: stack trace
No tags attached.
Issue History
2020-05-20 07:21prakashmurugesan88New Issue
2020-05-20 07:21prakashmurugesan88Assigned To => prakashmurugesan88
2020-05-20 07:21prakashmurugesan88Triggers an Emergency Pack => No
2020-05-20 08:09prakashmurugesan88Statusnew => scheduled
2020-05-20 10:59hgbotCheckin
2020-05-20 10:59hgbotNote Added: 0120086
2020-06-09 11:23prakashmurugesan88Statusscheduled => resolved
2020-06-09 11:23prakashmurugesan88Resolutionopen => fixed
2020-06-22 10:57marvintmReview Assigned To => marvintm
2020-06-22 10:57marvintmStatusresolved => closed
2020-06-22 10:57marvintmFixed in Version => RR20Q3

Notes
(0120086)
hgbot   
2020-05-20 10:59   
Repository: tools/automation/pi-mobile
Changeset: 1dca555f4e29ec22b1c8ab4ff1cfdc08f9c23d5e
Author: Prakash M <prakash <at> qualiantech.com>
Date: Wed May 20 14:25:54 2020 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1dca555f4e29ec22b1c8ab4ff1cfdc08f9c23d5e [^]

Related to BUG-44114: Fix try error on fetching statistics data

* However statistics data fetch should not happen as the test goes offline.
* Included delay for the system to go offline

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I34743_JSErrorShownInBPandBPLocationDetails.java
---