Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0046556 | Retail Modules | Gift cards and gift vouchers | public | 2021-05-06 15:38 | 2021-05-12 06:29 | |||||||||||||||||||||
Reporter | guillermogil | |||||||||||||||||||||||||
Assigned To | rqueralta | |||||||||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | RR21Q3 | ||||||||||||||||||||||||
Merge Request Status | approved | |||||||||||||||||||||||||
Review Assigned To | marvintm | |||||||||||||||||||||||||
OBNetwork customer | Gold | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||||||||||||||||
Regression date | 2020-08-04 | |||||||||||||||||||||||||
Regression introduced in release | RR20Q4 | |||||||||||||||||||||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/b9a457a4d9164fc248b50231345663bfb4b82258#60cdf603705f71dff9230c8fa90bb8c8ab277163_117_121 [^] | |||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0046556: OB.UI.GiftCardUtils.updatePaymentMethodCashUp does not exist | |||||||||||||||||||||||||
Description | There is a problem when creating gift certificates, if the payment method is marked to be counted in the cashup. The error happens because a missing JS function is being called: OB.UI.GiftCardUtils.updatePaymentMethodCashUp does not exist https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/blob/master/web/org.openbravo.retail.giftcards/js/components/GiftCardCertificate.js#L131 [^] TypeError: OB.UI.GiftCardUtils.updatePaymentMethodCashUp is not a function | |||||||||||||||||||||||||
Steps To Reproduce | Search for that function and there is no definition. It fails when creating a gift certificate, if the payment method is marked to be counted in the cashup. | |||||||||||||||||||||||||
Proposed Solution | This part was refactored as part of the IndexedDB changes here: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/4f8b5f7b89f808520bf2d843cd684ecea564ecf5 [^] However, in the subsequent merge part of the change was reverted, causing the regression: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/b9a457a4d9164fc248b50231345663bfb4b82258#60cdf603705f71dff9230c8fa90bb8c8ab277163_117_121 [^] | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2021-05-06 15:38 | guillermogil | New Issue | ||||||||||||||||||||||||
2021-05-06 15:38 | guillermogil | Assigned To | => Retail | |||||||||||||||||||||||
2021-05-06 15:38 | guillermogil | OBNetwork customer | => Gold | |||||||||||||||||||||||
2021-05-06 15:38 | guillermogil | Resolution time | => 1621720800 | |||||||||||||||||||||||
2021-05-06 15:38 | guillermogil | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2021-05-06 15:52 | marvintm | Regression level | => Production - Confirmed Stable | |||||||||||||||||||||||
2021-05-06 15:52 | marvintm | Regression date | => 2020-06-15 | |||||||||||||||||||||||
2021-05-06 15:52 | marvintm | Regression introduced in release | => RR20Q4 | |||||||||||||||||||||||
2021-05-06 15:52 | marvintm | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/4f8b5f7b89f808520bf2d843cd684ecea564ecf5 [^] | |||||||||||||||||||||||
2021-05-06 15:52 | marvintm | Status | new => scheduled | |||||||||||||||||||||||
2021-05-06 16:00 | marvintm | Description Updated | bug_revision_view_page.php?rev_id=22464#r22464 | |||||||||||||||||||||||
2021-05-06 16:00 | marvintm | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=22466#r22466 | |||||||||||||||||||||||
2021-05-06 16:00 | marvintm | Proposed Solution updated | ||||||||||||||||||||||||
2021-05-06 16:09 | marvintm | Regression date | 2020-06-15 => 2020-08-04 | |||||||||||||||||||||||
2021-05-06 16:09 | marvintm | Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/4f8b5f7b89f808520bf2d843cd684ecea564ecf5 [^] => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/b9a457a4d9164fc248b50231345663bfb4b82258#60cdf603705f71dff9230c8fa90bb8c8ab277163_117_121 [^] | |||||||||||||||||||||||
2021-05-06 16:09 | marvintm | Proposed Solution updated | ||||||||||||||||||||||||
2021-05-06 16:37 | rqueralta | Assigned To | Retail => rqueralta | |||||||||||||||||||||||
2021-05-07 06:43 | hgbot | Merge Request Status | => open | |||||||||||||||||||||||
2021-05-07 06:43 | hgbot | Note Added: 0127871 | ||||||||||||||||||||||||
2021-05-07 15:23 | hgbot | Note Added: 0127904 | ||||||||||||||||||||||||
2021-05-10 15:59 | hgbot | Note Added: 0127956 | ||||||||||||||||||||||||
2021-05-12 06:28 | hgbot | Merge Request Status | open => approved | |||||||||||||||||||||||
2021-05-12 06:29 | hgbot | Note Added: 0128016 | ||||||||||||||||||||||||
2021-05-12 06:29 | hgbot | Note Added: 0128017 | ||||||||||||||||||||||||
2021-05-12 06:29 | marvintm | Status | scheduled => resolved | |||||||||||||||||||||||
2021-05-12 06:29 | marvintm | Fixed in Version | => RR21Q3 | |||||||||||||||||||||||
2021-05-12 06:29 | marvintm | Resolution | open => fixed | |||||||||||||||||||||||
2021-05-12 06:29 | marvintm | Review Assigned To | => marvintm | |||||||||||||||||||||||
2021-05-12 06:29 | marvintm | Status | resolved => closed |