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

View Revisions: Issue #39978 All Revisions ] Back to Issue ]
Summary 0039978: Tapping on the show services button in a negative line raises an error
Revision 2019-01-18 14:30 by adrianromero
Description If activated all the remote preferences. In a receipt with a return line that has a product with services, tapping on the show services button an error is raised.

The exception raised in the backed is:
2019-01-18 13:46:13,038 [http-bio-8080-exec-2] ERROR org.openbravo.mobile.core.process.ProcessHQLQuery - org.openbravo.retail.posterminal.master.Product: Error when generating query: null (null)
java.lang.NumberFormatException: null
    at java.math.BigDecimal.<init>(BigDecimal.java:494) ~[?:1.8.0_191]
    at java.math.BigDecimal.<init>(BigDecimal.java:383) ~[?:1.8.0_191]
    at java.math.BigDecimal.<init>(BigDecimal.java:806) ~[?:1.8.0_191]
    at org.openbravo.retail.posterminal.ServicesHQLCriteria.getHQLFilter(ServicesHQLCriteria.java:31) ~[ServicesHQLCriteria.class:?]
    at org.openbravo.retail.posterminal.ServicesHQLCriteria$Proxy$_$$_WeldClientProxy.getHQLFilter(ServicesHQLCriteria$Proxy$_$$_WeldClientProxy.java) ~[ServicesHQLCriteria.class:?]
    at org.openbravo.mobile.core.process.SimpleQueryBuilder$HQLCriteria.getPart(SimpleQueryBuilder.java:572) ~[SimpleQueryBuilder$HQLCriteria.class:?]

The error is because in this line: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/web/org.openbravo.retail.posterminal/js/components/servicesfilter.js#l241 [^]
minimumSelected === Infinity
Revision 2019-01-18 14:24 by adrianromero
Description If activated all the remote preferences. In a receipt with a return line that has a product with services, tapping on the show services button an error is raised.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker