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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053502
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2023-09-20 12:512024-02-06 14:11
ReportercbernerView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053502: org.openbravo.pos2.product.label.printing module fails to load products

DescriptionThe module org.openbravo.pos2.product.label.printing fails to load any product if the module commercialoperations is not present.

- pos2.product.label.printing: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing [^]
- commercialoperations:
https://gitlab.com/openbravo/product/pmods/org.openbravo.product.label.printing.commercialoperations [^]

This is due to the former having an incorrect query:
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/blob/master/src/org/openbravo/pos2/product/label/printing/master/ProductExtension.java#L33 [^]

It expects some ModelExtensions marked with the qualifier: POS2PLP_ProductExtension, but none is present in the main pos2.product.label.printing module, the only ModelExtension with that qualifier is present in the dependant module commercialoperations.

The query should be fixed so when there is no ModelExtension(only this module installed) it should skip those properties in the select.

The error is shown in an attached image.
Steps To ReproduceHave a pos2 environment with the pos2.product.label.printing module installed. It should not have the commercialoperations module installed(pos2-modules contains both modules, so removing the commercialoperations one should be enough).

1. Login WebPOS
2. Go to Print Product Labels window, then click on Next
3. Try to search for any product, on the left filters
TagsNo tags attached.
Attached Filespng file icon localhost_3000__terminal=VBS-2(pos2) (11).png [^] (209,050 bytes) 2023-09-20 12:51

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0054468pi closedSABARINATH P Print Product Labels: Impossible to add products, product categories in product label option in the POS 

-  Notes
(0155812)
hgbot (developer)
2023-10-13 06:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/36 [^]
(0160301)
hgbot (developer)
2024-02-06 14:11

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/36 [^]
(0160302)
hgbot (developer)
2024-02-06 14:11

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing [^]
Changeset: 7795b9d3e68e4297f2002f4f71af77de98da5c10
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 06-02-2024 15:18:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/commit/7795b9d3e68e4297f2002f4f71af77de98da5c10 [^]

Fixed ISSUE-53502: Updated product query for supporting multiple hqlpropertylist

---
M src/org/openbravo/pos2/product/label/printing/master/ProductExtension.java
---

- Issue History
Date Modified Username Field Change
2023-09-20 12:51 cberner New Issue
2023-09-20 12:51 cberner Assigned To => Retail
2023-09-20 12:51 cberner File Added: localhost_3000__terminal=VBS-2(pos2) (11).png
2023-09-20 12:51 cberner OBNetwork customer => No
2023-09-20 12:51 cberner Triggers an Emergency Pack => No
2023-10-11 08:04 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-10-12 12:06 ranjith_qualiantech_com Status new => scheduled
2023-10-13 06:47 hgbot Merge Request Status => open
2023-10-13 06:47 hgbot Note Added: 0155812
2024-02-01 10:10 SABARINATH P Relationship added has duplicate 0054468
2024-02-06 14:11 hgbot Merge Request Status open => approved
2024-02-06 14:11 hgbot Note Added: 0160301
2024-02-06 14:11 hgbot Resolution open => fixed
2024-02-06 14:11 hgbot Status scheduled => closed
2024-02-06 14:11 hgbot Note Added: 0160302


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker