Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040282
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Sessionsmajoralways2019-02-27 12:042019-03-13 15:47
ReporterngarciaView Statuspublic 
Assigned Torqueralta 
PriorityimmediateResolutionfixedFixed in VersionRR19Q2
StatusclosedFix in branchFixed in SCM revisione014a9fd7271
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojorge-garcia
Regression levelProduction - Confirmed Stable
Regression date2018-06-13
Regression introduced in releaseRR18Q3
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/e4bd4091b73d48f0a251538d9afee4ea23114857 [^]
Triggers an Emergency PackNo
Summary

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

DescriptionTill Details tab in Terminals and Tills status window is not showing any value, an error is shown when selecting a record
Steps To ReproduceAs 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 00384463.0PR18Q3 closedjarmendariz Openbravo ERP Do not use positional query parameters with Query (Modules) 

-  Notes
(0110213)
hgbot (developer)
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 (reporter)
2019-03-06 17:12

Code reviewed and tested

- Issue History
Date Modified Username Field Change
2019-02-27 12:04 ngarcia New Issue
2019-02-27 12:04 ngarcia Assigned To => Retail
2019-02-27 12:04 ngarcia Resolution time => 1553036400
2019-02-27 12:04 ngarcia Triggers an Emergency Pack => No
2019-02-27 12:04 ngarcia Relationship added caused by 0038446
2019-02-27 12:05 ngarcia Issue Monitored: networkb
2019-02-27 15:12 rqueralta Assigned To Retail => rqueralta
2019-02-27 15:12 rqueralta Status new => scheduled
2019-03-04 21:11 hgbot Checkin
2019-03-04 21:11 hgbot Note Added: 0110213
2019-03-04 21:11 hgbot Status scheduled => resolved
2019-03-04 21:11 hgbot Resolution open => fixed
2019-03-04 21:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/e014a9fd7271a5c4a393ebc818b86024d7c9e851 [^]
2019-03-06 17:12 jorge-garcia Review Assigned To => jorge-garcia
2019-03-06 17:12 jorge-garcia Note Added: 0110266
2019-03-06 17:12 jorge-garcia Status resolved => closed
2019-03-06 17:12 jorge-garcia Fixed in Version => RR19Q2
2019-03-13 15:47 jorge-garcia Regression level => Production - Confirmed Stable
2019-03-13 15:47 jorge-garcia Regression date => 2018-06-13
2019-03-13 15:47 jorge-garcia Regression introduced in release => RR18Q3
2019-03-13 15:47 jorge-garcia Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/e4bd4091b73d48f0a251538d9afee4ea23114857 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker