Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0058295 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Coupons OTF | minor | always | 2025-03-20 13:19 | 2025-03-27 11:59 | |||
Reporter | joniturralde93 | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | urgent | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 124231 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0058295: Bad management of discount coupon description lines (print receipt) | |||||||
Description | There 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 Reproduce | Configure 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0177348) hgbot (developer) 2025-03-27 11:59 |
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24080 [^] |
![]() |
|||
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 |