Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040282Retail ModulesSessionspublic2019-02-27 12:042019-03-13 15:47
ngarcia 
rqueralta 
immediatemajoralways
closedfixed 
5
 
RR19Q2 
jorge-garcia
Production - Confirmed Stable
2018-06-13
RR18Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/e4bd4091b73d48f0a251538d9afee4ea23114857 [^]
No
0040282: Till Details tab in Terminals and Tills status window is not showing any value, an error is shown when selecting a record
Till Details tab in Terminals and Tills status window is not showing any value, an error is shown when selecting a record
As group admin role:
   Open Terminals and Tills status and change to Tills Status tab
   Select a record
   Check the following error is shown in the Till Details tab:
      java.lang.String cannot be cast to org.openbravo.base.structure.BaseOBObject

   The log shows:
      ERROR org.openbravo.service.datasource.DataSourceServlet - java.lang.String cannot be cast to org.openbravo.base.structure.BaseOBObject
java.lang.ClassCastException: java.lang.String cannot be cast to org.openbravo.base.structure.BaseOBObject
...
    at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:890)
    at org.openbravo.retail.sessions.CashUpDetailsDatasource.fetchJSONObject(CashUpDetailsDatasource.java:137)
    at org.openbravo.retail.sessions.CashUpDetailsDatasource.fetch(CashUpDetailsDatasource.java:50)
No tags attached.
caused by defect 00384463.0PR18Q3 closed jarmendariz Openbravo ERP Do not use positional query parameters with Query (Modules) 
Issue History
2019-02-27 12:04ngarciaNew Issue
2019-02-27 12:04ngarciaAssigned To => Retail
2019-02-27 12:04ngarciaResolution time => 1553036400
2019-02-27 12:04ngarciaTriggers an Emergency Pack => No
2019-02-27 12:04ngarciaRelationship addedcaused by 0038446
2019-02-27 12:05ngarciaIssue Monitored: networkb
2019-02-27 15:12rqueraltaAssigned ToRetail => rqueralta
2019-02-27 15:12rqueraltaStatusnew => scheduled
2019-03-04 21:11hgbotCheckin
2019-03-04 21:11hgbotNote Added: 0110213
2019-03-04 21:11hgbotStatusscheduled => resolved
2019-03-04 21:11hgbotResolutionopen => fixed
2019-03-04 21:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/e014a9fd7271a5c4a393ebc818b86024d7c9e851 [^]
2019-03-06 17:12jorge-garciaReview Assigned To => jorge-garcia
2019-03-06 17:12jorge-garciaNote Added: 0110266
2019-03-06 17:12jorge-garciaStatusresolved => closed
2019-03-06 17:12jorge-garciaFixed in Version => RR19Q2
2019-03-13 15:47jorge-garciaRegression level => Production - Confirmed Stable
2019-03-13 15:47jorge-garciaRegression date => 2018-06-13
2019-03-13 15:47jorge-garciaRegression introduced in release => RR18Q3
2019-03-13 15:47jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/e4bd4091b73d48f0a251538d9afee4ea23114857 [^]

Notes
(0110213)
hgbot   
2019-03-04 21:11   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: e014a9fd7271a5c4a393ebc818b86024d7c9e851
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Mar 04 15:09:28 2019 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/e014a9fd7271a5c4a393ebc818b86024d7c9e851 [^]

Fixed issue 40282: Till Details tab in Terminals and Tills status window is not
showing any value, an error is shown when selecting a record

- Fixed hql query to load the corresponding results

---
M src/org/openbravo/retail/sessions/CashUpDetailsDatasource.java
---
(0110266)
jorge-garcia   
2019-03-06 17:12   
Code reviewed and tested