Openbravo Issue Tracking System - POS2
View Issue Details
0054468POS2[Retail Modules] Web POSpublic2024-01-25 09:592024-02-01 14:42
nicola_uva 
SABARINATH P 
highmajoralways
closedfixed 
5
 
pi 
Gold
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/28 [^]
No
0054468: Print Product Labels: Impossible to add products, product categories in product label option in the POS
On the webpos when we call

org.openbravo.mobile.core.service.jsonrest/org.openbravo.pos2.product.label.printing.master.ProductExtension?$timeout=5000

We got following error “Syntax error“:

org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: , near line 1, column 331

When createStockProductHql is called at the end is added “,“ but if printProductLabelHQLProperties.getHqlSelect() return null/empty we added a new “,“ and that cause the SQL QuerySyntaxException.


NOTE:
To reproduce the error you should NOT install org.openbravo.product.label.printing.commercialoperations


1. Configure print product labels
2. On WEBPOS click on the menu item "Print Product Labels"
3. full fill the form
4. type the product you want to print
5. Error is showed in the POS
No tags attached.
duplicate of defect 0053502 closed ranjith_qualiantech_com org.openbravo.pos2.product.label.printing module fails to load products 
txt errorlog.txt (29,323) 2024-01-25 09:59
https://issues.openbravo.com/file_download.php?file_id=19385&type=bug
Issue History
2024-01-25 09:59nicola_uvaNew Issue
2024-01-25 09:59nicola_uvaAssigned To => Retail
2024-01-25 09:59nicola_uvaFile Added: errorlog.txt
2024-01-25 09:59nicola_uvaOBNetwork customer => Gold
2024-01-25 09:59nicola_uvaRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/28 [^]
2024-01-25 09:59nicola_uvaTriggers an Emergency Pack => No
2024-01-30 17:53aaroncaleroProjectRetail Modules => POS2
2024-02-01 07:27SABARINATH PAssigned ToRetail => SABARINATH P
2024-02-01 10:10SABARINATH PRelationship addedduplicate of 0053502
2024-02-01 10:12SABARINATH PNote Added: 0160064
2024-02-01 10:17SABARINATH PNote Deleted: 0160064
2024-02-01 14:41SABARINATH PStatusnew => scheduled
2024-02-01 14:42SABARINATH PStatusscheduled => resolved
2024-02-01 14:42SABARINATH PResolutionopen => fixed
2024-02-01 14:42SABARINATH PStatusresolved => closed

There are no notes attached to this issue.