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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056665
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-10-07 10:542024-10-29 18:19
Reporterranjith_qualiantech_comView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056665: Product characteristic values with commas are not correctly managed in the print product labels flow

DescriptionThe print product labels at the end sends a JSON to create the report for the labels. In this JSON, the product characteristics that contains commas are breaking the structure sometimes. In other cases, the characteristic value is only present until the comma
Steps To ReproducePRE-REQUIREMENTS:
1.- Create a Product Characteristic called Dimentions on the back-office
2.- Create "L 22,5cm" as value for the product characteristic
3.- Assign it to a product
4.- A print product label template should be configured also

STEPS:
1.- Log into the POS2
2.- Execute the print product labels flow
3.- Select previously configured product with the characteristic (put a breakpoint on the return of calculateLabelTemplates function in js)
4.- Try to complete the flow

EXPECTED RESULT: The characteristics array inside the JSON object is wrong. The Dimentions characteristic appears with the value 'L 22'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0170069)
hgbot (developer)
2024-10-08 05:37

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/86 [^]
(0171121)
hgbot (developer)
2024-10-29 18:19

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing [^]
Changeset: 6fd97ababa3f0621b45f307fb4c501b9fbb49524
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 29-10-2024 17:18:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/commit/6fd97ababa3f0621b45f307fb4c501b9fbb49524 [^]

Fixed ISSUE-56665: Update Regex to generate characteristic object from string
* Update Regex to generate characteristic object
  1) Accept spaces in the name of the characteristic
  2) Accept spaces, comma, empty in the value of the characteristic

---
A web-jspack/org.openbravo.pos2.product.label.printing/src/components/PrintProductLabel/PrintProductLabelSelectProdStep/PrintProductLabelPrintLabelButton/__test__/PrintProductLabelPrintLabelButton.test.jsx
M web-jspack/org.openbravo.pos2.product.label.printing/src/components/PrintProductLabel/PrintProductLabelSelectProdStep/PrintProductLabelPrintLabelButton/PrintProductLabelPrintLabelButton.jsx
---
(0171122)
hgbot (developer)
2024-10-29 18:19

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.product.label.printing/-/merge_requests/86 [^]

- Issue History
Date Modified Username Field Change
2024-10-07 10:54 ranjith_qualiantech_com New Issue
2024-10-07 10:54 ranjith_qualiantech_com Assigned To => ranjith_qualiantech_com
2024-10-07 10:54 ranjith_qualiantech_com Triggers an Emergency Pack => No
2024-10-08 05:37 hgbot Note Added: 0170069
2024-10-08 07:50 ranjith_qualiantech_com Status new => scheduled
2024-10-29 18:19 hgbot Resolution open => fixed
2024-10-29 18:19 hgbot Status scheduled => closed
2024-10-29 18:19 hgbot Note Added: 0171121
2024-10-29 18:19 hgbot Note Added: 0171122


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker