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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055497
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2024-05-15 16:582024-09-12 08:32
ReporterivazquezView Statuspublic 
Assigned ToSABARINATH P 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toguillermogil
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055497: Error when printing Gift Card ticket with custom template

DescriptionIf you create a new module in which you have a custom template for the Gift Cards template, even if you have everything set correctly the POS will return the following error:

"Unknown template with resource path: ../../../../name.xml"

Reproduced in the latest version in a local environment
Steps To ReproduceBackoffice:

-Create a new template module containing a new gift card template.
-Go to the “Print Templates” window as System Administrator and create a new one of the type “Gift Card Template”, make sure to set the path correctly.
-Switch to client, go to the Products window, and look for the gift card type product.
-Check the “Print Gift Card” option and set the “Gift Card Template” field with the custom template created in previous steps.

WebPOS:
Refresh the Web Pos so that the changes are affected.
Find the Gift Card and try to print it

You will see the error in red at the bottom left.

All these steps are attached to the issue as images.
TagsNo tags attached.
Attached Filespng file icon FirstStep.png [^] (42,732 bytes) 2024-05-15 16:59


png file icon SecondStep.png [^] (110,872 bytes) 2024-05-15 16:59


png file icon ThirdStep.png [^] (73,444 bytes) 2024-05-15 16:59


png file icon FourthStep.png [^] (11,623 bytes) 2024-05-15 16:59


? file icon issueGiftCardTemplate.mp4 [^] (2,063,315 bytes) 2024-05-17 14:53

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0056432RR24Q2.3 closedRajesh_18 Retail Modules Error when printing Gift Card ticket with custom template 
has duplicate defect 0056421 closedRajesh_18 POS2 RM-16711 [SALES] Some informations are incorrect on the remaining balance ticket of the gift card 

-  Notes
(0164716)
hgbot (developer)
2024-05-16 15:16

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/333 [^]
(0164731)
hgbot (developer)
2024-05-17 09:16

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 46698870a6c6e97d6d2b89e29ac5b7c18ae0ea44
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 17-05-2024 10:49:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/46698870a6c6e97d6d2b89e29ac5b7c18ae0ea44 [^]

Fixed ISSUE-55497: OverWritten giftcard template which can accept any custom template.

---
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/CompleteTicketPostHooks.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/__test__/CompleteTicketPostHooks.test.js
---
(0164732)
hgbot (developer)
2024-05-17 09:16

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/333 [^]
(0164756)
ivazquez (developer)
2024-05-17 14:49

Dear Sabarinath,

As we discussed via chat, the change only affects the flow when selling a new gift card, this point was solved.
But if we do the flow explained in the steps to reproduce the ticket, the problem still occurs.

Regards,
Ignacio Vazquez
(0164757)
ivazquez (developer)
2024-05-17 14:54

Attached video with the new tests
(0165515)
hgbot (developer)
2024-06-04 10:53

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/344 [^]
(0165754)
hgbot (developer)
2024-06-11 06:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/344 [^]
(0165755)
hgbot (developer)
2024-06-11 06:10

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: ef3b784253644b412ad68ca7e928a0f1c5010d24
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 04-06-2024 14:23:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/ef3b784253644b412ad68ca7e928a0f1c5010d24 [^]

Related ISSUE-55497: Overwritten customised giftcard template.

---
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/actions/SendPrintGiftCardMessageActionPreparation.js
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/actions/__test__/SendPrintGiftCardMessageActionPreparation.test.js
---

- Issue History
Date Modified Username Field Change
2024-05-15 16:58 ivazquez New Issue
2024-05-15 16:58 ivazquez Assigned To => Retail
2024-05-15 16:58 ivazquez Triggers an Emergency Pack => No
2024-05-15 16:59 ivazquez File Added: FirstStep.png
2024-05-15 16:59 ivazquez File Added: SecondStep.png
2024-05-15 16:59 ivazquez File Added: ThirdStep.png
2024-05-15 16:59 ivazquez File Added: FourthStep.png
2024-05-15 17:31 Practics Issue Monitored: Practics
2024-05-15 17:58 guillermogil Status new => acknowledged
2024-05-15 18:18 sreehari Assigned To Retail => sreehari
2024-05-15 18:18 sreehari Status acknowledged => scheduled
2024-05-16 10:30 SABARINATH P Assigned To sreehari => SABARINATH P
2024-05-16 15:16 hgbot Note Added: 0164716
2024-05-17 09:16 hgbot Resolution open => fixed
2024-05-17 09:16 hgbot Status scheduled => closed
2024-05-17 09:16 hgbot Note Added: 0164731
2024-05-17 09:16 hgbot Note Added: 0164732
2024-05-17 14:48 ivazquez Status closed => new
2024-05-17 14:49 ivazquez Note Added: 0164756
2024-05-17 14:52 ivazquez File Added: issueGiftCardTemplate.gif
2024-05-17 14:52 ivazquez File Deleted: issueGiftCardTemplate.gif
2024-05-17 14:53 ivazquez File Added: issueGiftCardTemplate.mp4
2024-05-17 14:54 ivazquez Note Added: 0164757
2024-05-17 15:02 SABARINATH P Status new => scheduled
2024-06-04 10:53 hgbot Note Added: 0165515
2024-06-11 06:10 hgbot Note Added: 0165754
2024-06-11 06:10 hgbot Note Added: 0165755
2024-06-11 06:10 guillermogil Status scheduled => resolved
2024-06-11 06:10 guillermogil Fixed in Version => RR24Q3
2024-06-11 06:10 guillermogil Status resolved => closed
2024-09-12 06:41 guillermogil Relationship added has duplicate 0056421
2024-09-12 08:30 Rajesh_18 Status closed => new
2024-09-12 08:30 Rajesh_18 Resolution fixed => open
2024-09-12 08:30 Rajesh_18 Fixed in Version RR24Q3 =>
2024-09-12 08:31 Rajesh_18 Status new => scheduled
2024-09-12 08:31 Rajesh_18 Assigned To SABARINATH P => Rajesh_18
2024-09-12 08:31 Rajesh_18 Assigned To Rajesh_18 => SABARINATH P
2024-09-12 08:32 Rajesh_18 Status scheduled => resolved
2024-09-12 08:32 Rajesh_18 Resolution open => fixed
2024-09-12 08:32 Rajesh_18 Review Assigned To => guillermogil
2024-09-12 08:32 Rajesh_18 Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker