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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056895
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersminoralways2024-10-24 18:192024-11-12 06:17
ReportersofidossantView Statuspublic 
Assigned ToBimla_vm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056895: ERROR API Consume Gift cards

DescriptionAny error in the api
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/ws/org.openbravo.retail.api.giftcards.ImportService/ConsumeGiftCard [^]
We have this response:
    “data": {
        “errors": [
            {
                “status": 200,
                “title": ‘Error consuming gift card’.
            }
        ]
    },
    “links": null
}

Relation with issue
https://issues.openbravo.com/view.php?id=56346 [^]
Steps To ReproduceI try to consume one gift card that don't exits:
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/ws/org.openbravo.retail.api.giftcards.ImportService/ConsumeGiftCard [^] [^]

{
  "client": "The White Valley Group",
  "organization": "The White Valley Group",
  "giftCardIdentifier": "TEST-SOFISSA",
  "amount": 40,
}

Response

{
    "data": {
        "id": "9BF85FA64B114A16A9C1185D0E3BF9EE",
        "amount": 40,
        "gcnvGiftcardInst": "E16782A0E46D4BB69131B7B139F3CA70"
    },
    "links": null
}

The answer should be that there is no gift card,
If any field is missing, do not let us know.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0171357)
hgbot (developer)
2024-11-05 07:10

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/393 [^]
(0171475)
hgbot (developer)
2024-11-06 08:36

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/393 [^]
(0171476)
hgbot (developer)
2024-11-06 08:36

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: ded584597f375a03b5d5dbb93d51f0ffa1cfc79a
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 06-11-2024 07:36:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/ded584597f375a03b5d5dbb93d51f0ffa1cfc79a [^]

Fixed ISSUE-56895: Handled exception for consume giftcards API

---
M src/org/openbravo/retail/giftcards/ConsumeGiftCardAmount.java
M src/org/openbravo/retail/giftcards/ConsumeGiftCardAmountExtension.java
M src/org/openbravo/retail/giftcards/utils/GiftCardUtils.java
---

- Issue History
Date Modified Username Field Change
2024-10-24 18:19 sofidossant New Issue
2024-10-24 18:19 sofidossant Assigned To => Retail
2024-10-24 18:19 sofidossant Triggers an Emergency Pack => No
2024-10-25 06:20 guillermogil Assigned To Retail => guilleaer
2024-10-25 14:22 Practics Issue Monitored: Practics
2024-10-29 08:16 guilleaer Status new => acknowledged
2024-11-02 06:19 Bimla_vm Assigned To guilleaer => Bimla_vm
2024-11-02 06:19 Bimla_vm Status acknowledged => scheduled
2024-11-05 07:10 hgbot Note Added: 0171357
2024-11-06 08:36 hgbot Note Added: 0171475
2024-11-06 08:36 hgbot Resolution open => fixed
2024-11-06 08:36 hgbot Status scheduled => closed
2024-11-06 08:36 hgbot Note Added: 0171476
2024-11-12 06:16 Bimla_vm Status closed => new
2024-11-12 06:16 Bimla_vm Resolution fixed => open
2024-11-12 06:17 Bimla_vm Status new => scheduled
2024-11-12 06:17 Bimla_vm Status scheduled => resolved
2024-11-12 06:17 Bimla_vm Resolution open => fixed
2024-11-12 06:17 Bimla_vm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker