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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058295
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Coupons OTFminoralways2025-03-20 13:192025-03-27 11:59
Reporterjoniturralde93View Statuspublic 
Assigned Toguilleaer 
PriorityurgentResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerOBPS
Support ticket124231
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058295: Bad management of discount coupon description lines (print receipt)

DescriptionThere are some issues in the handling of ORF Coupons Generation Rules - Print subtab - field Print Description

Issue 1:
Bad management of long words. If the word itself exceeds 42 characters, or together with the next word the line exceeds 42 characters, a line longer than 42 will be sent to print template.

Issue 2:
Bad management of linejumps in backoffice description configuration. The linejump will be handled as any other character inside one "line" in the javascript, thus cutting the line when there is actually more space. Linejumps in configuration should also finish current line in javascript.

The code is here:
https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/blob/master/web/org.openbravo.retail.discounts.coupons.otf/js/utils.js?ref_type=heads#L642 [^]

Text example that fails for the customer:
Bon d’achat uniquement valable dans les magasins Carter-Cash participants, pour tout achat d’un montant
minimum de 15€ (hors prestations, produits consignés et livraison express). Non cessible, non fractionnable, non remboursable, non échangeable, non cumulable, ne pouvant donner lieu à aucun rendu de monnaie, non remplaçable en cas de perte, vol ou pour tout autre motif.
Règlement de l’opération commerciale sur www.carter-cash.com/page/reglements
Carter-Cash - 2A boulevard Van Gogh, 59650 Villeneuve d’Ascq - SAS au capital de 406 750 euros / RCS Lille Métropole 440 948 578
Ne pas jeter sur la voie publique - Reproduction interdite

URL In case you need to copy directly:
https://cartercash-recette.cloud.openbravo.com/openbravo/?tabId=837C7B53A45646818775C745F4693734&recordId=A4B4545C2B7C4CD480785DDDAB7F791E [^]

Picture of the result attached.
Steps To ReproduceConfigure the text in There are some issues in the handling of ORF Coupons Generation Rules - Print subtab - field Print Description

Bon d’achat uniquement valable dans les magasins Carter-Cash participants, pour tout achat d’un montant
minimum de 15€ (hors prestations, produits consignés et livraison express). Non cessible, non fractionnable, non remboursable, non échangeable, non cumulable, ne pouvant donner lieu à aucun rendu de monnaie, non remplaçable en cas de perte, vol ou pour tout autre motif.
Règlement de l’opération commerciale sur www.carter-cash.com/page/reglements
Carter-Cash - 2A boulevard Van Gogh, 59650 Villeneuve d’Ascq - SAS au capital de 406 750 euros / RCS Lille Métropole 440 948 578
Ne pas jeter sur la voie publique - Reproduction interdite

URL In case you need to copy directly:
https://cartercash-recette.cloud.openbravo.com/openbravo/?tabId=837C7B53A45646818775C745F4693734&recordId=A4B4545C2B7C4CD480785DDDAB7F791E [^]


The printed text is wrongly formatted
TagsNo tags attached.
Attached Filespng file icon image (4).png [^] (633,176 bytes) 2025-03-20 13:19

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0177348)
hgbot (developer)
2025-03-27 11:59

Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24080 [^]

- Issue History
Date Modified Username Field Change
2025-03-20 13:19 joniturralde93 New Issue
2025-03-20 13:19 joniturralde93 Assigned To => Retail
2025-03-20 13:19 joniturralde93 File Added: image (4).png
2025-03-20 13:19 joniturralde93 OBNetwork customer => OBPS
2025-03-20 13:19 joniturralde93 Support ticket => 124231
2025-03-20 13:19 joniturralde93 Triggers an Emergency Pack => No
2025-03-20 15:15 guillermogil Severity major => minor
2025-03-26 08:28 guilleaer Assigned To Retail => guilleaer
2025-03-26 08:28 guilleaer Status new => acknowledged
2025-03-27 11:59 hgbot Note Added: 0177348
2025-03-27 11:59 hgbot Status acknowledged => closed
2025-03-27 11:59 hgbot Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker