Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036657Retail ModulesWeb POSpublic2017-08-16 14:282017-09-15 11:55
maite 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036657: TimeOut needs to be increased for Receipts search
In case current timeout of 15 seconds is reached, following error will be raised in the log and no results will be shown:

53b5b12 2017-08-16 07:00:05,201 [ajp-bio-127.0.0.1-8009-exec-2] ERROR org.openbravo.mobile.core.process.ProcessHQLQuery - org.openbravo.retail.posterminal.PaidReceiptsHeader: Error when generating query: QueryImpl(select ord.id as id, ord.documentNo as documentNo, ord.orderDate as orderDate, ord.businessPartner.name as businessPartner, ord.grandTotalAmount as totalamount, ord.documentType.id as documentTypeId, 'false' as isLayaway from Order as ord where ord.client='5A69C14231C34F64B007B6AF049B17AA' and ord.organization.id= :organization and ord.obposIsDeleted = false and (ord.documentNo like :filterT1 or upper(ord.businessPartner.name) like upper(:filterT1)) and ( ord.documentType.id in (:documentTypes) ) and ord.obposApplications is not null and exists (select 1 from ord.orderLineList where deliveredQuantity != 0) order by ord.orderDate desc, ord.documentNo desc) (could not execute query using scroll)
org.hibernate.exception.GenericJDBCException: could not execute query using scroll
1. Access POS Terminal
2. Open "Receipts" option and set "VBS1/00000" value

In case query take more than 15 seconds no tickets will be returned and error will be raised in log
No tags attached.
diff issue36657.diff (478) 2017-08-16 15:40
https://issues.openbravo.com/file_download.php?file_id=10985&type=bug
Issue History
2017-08-16 14:28maiteNew Issue
2017-08-16 14:28maiteAssigned To => Retail
2017-08-16 14:28maiteResolution time => 1504648800
2017-08-16 14:28maiteTriggers an Emergency Pack => No
2017-08-16 14:28maiteIssue Monitored: networkb
2017-08-16 15:40marvintmFile Added: issue36657.diff
2017-08-22 22:48rqueraltaAssigned ToRetail => rqueralta
2017-08-22 22:58rqueraltaStatusnew => scheduled
2017-09-11 12:12jorge-garciaAssigned Torqueralta => jorge-garcia
2017-09-12 08:33hgbotCheckin
2017-09-12 08:33hgbotNote Added: 0098962
2017-09-12 08:33hgbotStatusscheduled => resolved
2017-09-12 08:33hgbotResolutionopen => fixed
2017-09-12 08:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/05df0e218466f9343b7540b6e018b0d4708a2674 [^]
2017-09-15 11:55marvintmReview Assigned To => marvintm
2017-09-15 11:55marvintmStatusresolved => closed
2017-09-15 11:55marvintmFixed in Version => RR17Q4

Notes
(0098962)
hgbot   
2017-09-12 08:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 05df0e218466f9343b7540b6e018b0d4708a2674
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Sep 11 12:11:51 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/05df0e218466f9343b7540b6e018b0d4708a2674 [^]

Fixed issue 36657: TimeOut needs to be increased for Receipts search

Increased time to 30 seconds.

---
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
---