Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040252 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Gift cards and gift vouchers | major | always | 2019-02-21 11:01 | 2019-03-01 11:37 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e5569d9ba275 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040252: Cannot cancel a gift card instance if it does not include a payment | |||||||
Description | Cannot cancel a gift card instance if it does not include a payment | |||||||
Steps To Reproduce | In the POS: Create a new receipt Set a business partner to it Add the following two products: Gift Card Infinite Gift Voucher Pay it In the backoffice: Check two records have been created in Gift Card Instance window: one with Based on Product Gift Card type and one with Based on Voucher type Check both of them have the Payment field empty Try to launch the Cancel Gift Card process for them and check the following error message is shown: Close Card Exception closing card: <> The log shows: ERROR org.openbravo.retail.giftcards.process.CancelGiftCardProcessHandler - Exception closing card: %0 org.openbravo.base.exception.OBException: Exception closing gift card : <> at org.openbravo.retail.giftcards.process.GiftCardGLItemUtils.close(GiftCardGLItemUtils.java:92) ~[GiftCardGLItemUtils.class:?] at org.openbravo.retail.giftcards.process.GiftCardGLItemUtils.close(GiftCardGLItemUtils.java:68) ~[GiftCardGLItemUtils.class:?] at org.openbravo.retail.giftcards.process.GiftCardGLItemUtils.close(GiftCardGLItemUtils.java:63) ~[GiftCardGLItemUtils.class:?] at org.openbravo.retail.giftcards.process.CancelGiftCardProcessHandler.doExecute(CancelGiftCardProcessHandler.java:44) [CancelGiftCardProcessHandler.class:?] ... Caused by: java.lang.NullPointerException at org.openbravo.retail.giftcards.process.GiftCardGLItemUtils.makeGiftCardTrans(GiftCardGLItemUtils.java:104) ~[GiftCardGLItemUtils.class:?] at org.openbravo.retail.giftcards.process.GiftCardGLItemUtils.close(GiftCardGLItemUtils.java:85) ~[GiftCardGLItemUtils.class:?] ... 54 more | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0110030) hgbot (developer) 2019-02-22 12:37 |
Repository: erp/pmods/org.openbravo.retail.giftcards Changeset: e5569d9ba275f5cd6c14a4d0326356d011622730 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Feb 22 17:06:52 2019 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/e5569d9ba275f5cd6c14a4d0326356d011622730 [^] Fixed issue 40252 : Validate GiftCard Instance with Payment when cancelleing it * When cancelling the gift card, Reverse payment when GiftCard Instance payment is presents --- M src/org/openbravo/retail/giftcards/process/GiftCardGLItemUtils.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2019-02-21 11:01 | ngarcia | New Issue | |
2019-02-21 11:01 | ngarcia | Assigned To | => Retail |
2019-02-21 11:01 | ngarcia | Triggers an Emergency Pack | => No |
2019-02-21 11:02 | ngarcia | Issue Monitored: networkb | |
2019-02-21 12:37 | rafaroda | Relationship added | related to 0040251 |
2019-02-21 13:42 | marvintm | Resolution time | => 1552172400 |
2019-02-21 14:33 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-02-22 06:17 | ranjith_qualiantech_com | Status | new => scheduled |
2019-02-22 12:37 | hgbot | Checkin | |
2019-02-22 12:37 | hgbot | Note Added: 0110030 | |
2019-02-22 12:37 | hgbot | Status | scheduled => resolved |
2019-02-22 12:37 | hgbot | Resolution | open => fixed |
2019-02-22 12:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/e5569d9ba275f5cd6c14a4d0326356d011622730 [^] |
2019-03-01 11:37 | marvintm | Review Assigned To | => marvintm |
2019-03-01 11:37 | marvintm | Status | resolved => closed |
2019-03-01 11:37 | marvintm | Fixed in Version | => RR19Q2 |
Copyright © 2000 - 2009 MantisBT Group |