Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0041420 | Retail Modules | Web POS | public | 2019-07-22 19:11 | 2019-08-05 08:53 | |||||||
Reporter | guillermogil | |||||||||||
Assigned To | alekosmp86 | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR19Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | Gold | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0041420: Loading a ticket with a payment that is not configured fails | |||||||||||
Description | The payment type of the current payment is not configured for the webpos The following error appears: Caused by: java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: expecting EOF, found ')' near line 1, column 383 [select p.paymentMethod.name as name, p.account.id as account, obpos_currency_rate(p.account.currency, p.organization.currency, null, null, p.client.id, p.organization.id) as rate, obpos_currency_rate(p.organization.currency, p.account.currency, null, null, p.client.id, p.organization.id) as mulrate, p.account.currency.iSOCode as isocode from FIN_Payment as p where p.id=:paymentId)] at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:133) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:164) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:715) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:731) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:105) ~[hibernate-core-5.3.2.Final.jar:5.3.2.Final] at org.openbravo.retail.posterminal.PaidReceipts.exec(PaidReceipts.java:460) ~[classes/:?] ... 53 more | |||||||||||
Steps To Reproduce | Create a ticket with Credit card Deconfigure the payment method Reload Webpos Load that ticket | |||||||||||
Proposed Solution | See diff attached | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=13163&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-07-22 19:11 | guillermogil | New Issue | ||||||||||
2019-07-22 19:11 | guillermogil | Assigned To | => Retail | |||||||||
2019-07-22 19:11 | guillermogil | OBNetwork customer | => Gold | |||||||||
2019-07-22 19:11 | guillermogil | Resolution time | => 1564783200 | |||||||||
2019-07-22 19:11 | guillermogil | Triggers an Emergency Pack | => No | |||||||||
2019-07-22 19:21 | guillermogil | File Added: Issue41420.diff | ||||||||||
2019-07-22 19:21 | guillermogil | Reproducibility | have not tried => always | |||||||||
2019-08-01 20:54 | alekosmp86 | Assigned To | Retail => alekosmp86 | |||||||||
2019-08-02 20:02 | hgbot | Checkin | ||||||||||
2019-08-02 20:02 | hgbot | Note Added: 0113793 | ||||||||||
2019-08-02 20:02 | hgbot | Status | new => resolved | |||||||||
2019-08-02 20:02 | hgbot | Resolution | open => fixed | |||||||||
2019-08-02 20:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a58838d2da07b7ad137f0410f680c503677320a4 [^] | |||||||||
2019-08-05 08:53 | marvintm | Review Assigned To | => marvintm | |||||||||
2019-08-05 08:53 | marvintm | Status | resolved => closed | |||||||||
2019-08-05 08:53 | marvintm | Fixed in Version | => RR19Q4 | |||||||||
2019-08-09 11:03 | aaroncalero | Relationship added | related to 0041622 |
Notes | |||||
|
|||||
|
|