Openbravo Issue Tracking System - POS2
View Issue Details
0053275POS2POSpublic2023-08-23 12:152023-12-20 16:28
Daria_Sh 
Rajesh_18 
normalminorhave not tried
closedfixed 
5
 
 
No
0053275: 'There was an error loading the form data' error is shown when open Gift Card info
If I create and sell Gift Card, then open it's info from the 'Select Gift Cards / Credit Notes / Gift Certificates' pop-up, 'There was an error loading the form data' is displayed

Go to Backoffice (User:Openbravo/Password:openbravo)-> Product window
Create a new Product, specify the values:
-Organization: Vall Blanca Store
-Search Key: GC/200
-Name: Gift Card 200
-UOM: Unit
-Tax Category: Exento
-Product Category: Backpacks & Travel
-Purchase: ✔
-Sale: ✔
-Stocked: unselected
-Product Type: Item
-Active: ✔
-Returnable: ✔
-Grouped Product: unselected
-Gift card Type: Gift Card
-Show Characteristics Description: ✔
-Gift card initial amount: 200.00
-Gift card as payment method: ✔
-Allow Anonymous Sale: ✔
    
Navigate to the 'Price' tab
Add new record in the form with the following values:
-Price List Version: The White Valley Group Sale Price List Version
-Unit Price: 180.00
-List Price: 180.00

Go to the 'Assortment' window
Open the 'White Valley Group Product List'-> Go to the 'Product' tab
Add new record in the form with the following values:
-Active: ✔
-Product: Gift Card 200
-Product Category: Backpacks & Travel
-Bestseller: No
1.Go to POS2 (user: vallblanca/password: openbravo)
2.Find 'Gift Card 200' through the Search line -> Open it
3.Specify Gift Card Identifier-2222, Description-Gift Card -> Click 'Finish' button
4.Click the 'Pay ' button -> Pay by Cash -> Click 'Done'
5.Go to Main menu -> Restaurant -> Gift Cards / Credit Notes / Gift Certificates
6.Specify the Search key of created Gift Card (GC/200) -> Click 'Search' button
7.Click the eye icon next to the balance of the displayed Gift Card.

Actual result: 'There was an error loading the form data' is displayed

Expected result: Gift Card info is displayed without any errors
No tags attached.
related to defect 0053237 closed Rajesh_18 VBS Customer is displayed as Gift Card Owner if create Gift Certificate with specified Customer 
blocks defect 0053933 closed Rajesh_18 Scan Gift card doesn't link the customer 
jpg error while loading.jpg (83,413) 2023-08-23 12:15
https://issues.openbravo.com/file_download.php?file_id=18901&type=bug
jpg
Issue History
2023-08-23 12:15Daria_ShNew Issue
2023-08-23 12:15Daria_ShAssigned To => Retail
2023-08-23 12:15Daria_ShFile Added: error while loading.jpg
2023-08-23 12:15Daria_ShTriggers an Emergency Pack => No
2023-08-23 12:16Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=26692#r26692
2023-08-23 12:16Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=26693#r26693
2023-09-07 12:08Rajesh_18Assigned ToRetail => Rajesh_18
2023-09-07 13:38Daria_ShSummaryThe error is shown when open Gift Card info => An error is shown when open Gift Card info
2023-09-07 13:38Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=26789#r26789
2023-09-07 13:39Daria_ShSummaryAn error is shown when open Gift Card info => 'There was an error loading the form data' error is shown when open Gift Card info
2023-09-08 09:10Rajesh_18Statusnew => scheduled
2023-09-11 06:45Rajesh_18Relationship addedrelated to 0053237
2023-09-19 14:52hgbotNote Added: 0154996
2023-12-19 14:59Rajesh_18Relationship addedblocks 0053933
2023-12-20 16:28hgbotResolutionopen => fixed
2023-12-20 16:28hgbotStatusscheduled => closed
2023-12-20 16:28hgbotNote Added: 0158430
2023-12-20 16:28hgbotNote Added: 0158431

Notes
(0154996)
hgbot   
2023-09-19 14:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/264 [^]
(0158430)
hgbot   
2023-12-20 16:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 0e35bd56b88155cb1b82b5305a1a6626ea79d575
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 20-12-2023 15:28:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/0e35bd56b88155cb1b82b5305a1a6626ea79d575 [^]

Fixes ISSUE-53275: Skip ExternalBP validation if crmreference is not present
* CRM Reference should be set to GiftCard instance if value is not blank

---
M src/org/openbravo/retail/giftcards/GiftCardCertificate.java
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialogFormHandler.js
---
(0158431)
hgbot   
2023-12-20 16:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/264 [^]