Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0047726 | Retail Modules | Gift cards and gift vouchers | public | 2021-09-21 09:57 | 2021-10-18 08:17 |
|
Reporter | joniturralde93 | |
Assigned To | rqueralta | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0047726: Gift Certificate sequence prefix should be unique |
Description | The customer can set repeated prefixes, which leads to duplicated certificate numbers and Errors While Importing, so we should ensure no prefix is duplicated in two touchpoints. |
Steps To Reproduce | Enter the same prefix in two terminals of the same organization and start generating certificates, this will lead to Error While Importing |
Proposed Solution | Add validation when saving a Gift Certificate Sequence Prefix |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-09-21 09:57 | joniturralde93 | New Issue | |
2021-09-21 09:57 | joniturralde93 | Assigned To | => Retail |
2021-09-21 09:57 | joniturralde93 | Triggers an Emergency Pack | => No |
2021-09-21 16:14 | rqueralta | Assigned To | Retail => rqueralta |
2021-09-21 16:14 | rqueralta | Status | new => scheduled |
2021-09-27 12:18 | hgbot | Note Added: 0132018 | |
2021-10-04 04:52 | hgbot | Note Added: 0132105 | |
2021-10-04 04:57 | hgbot | Note Added: 0132106 | |
2021-10-04 07:28 | hgbot | Resolution | open => fixed |
2021-10-04 07:28 | hgbot | Status | scheduled => closed |
2021-10-04 07:28 | hgbot | Note Added: 0132113 | |
2021-10-04 07:28 | hgbot | Note Added: 0132114 | |
2021-10-04 13:02 | marvintm | Note Added: 0132124 | |
2021-10-04 13:02 | marvintm | Status | closed => new |
2021-10-04 13:02 | marvintm | Resolution | fixed => open |
2021-10-04 13:02 | hgbot | Note Added: 0132125 | |
2021-10-04 17:46 | hgbot | Note Added: 0132152 | |
2021-10-07 07:24 | hgbot | Resolution | open => fixed |
2021-10-07 07:24 | hgbot | Status | new => closed |
2021-10-07 07:24 | hgbot | Note Added: 0132225 | |
2021-10-07 07:24 | hgbot | Note Added: 0132226 | |
2021-10-13 10:15 | joniturralde93 | Note Added: 0132311 | |
2021-10-13 10:15 | joniturralde93 | Status | closed => new |
2021-10-18 08:08 | hgbot | Note Added: 0132379 | |
2021-10-18 08:17 | hgbot | Status | new => closed |
2021-10-18 08:17 | hgbot | Note Added: 0132380 | |
2021-10-18 08:17 | hgbot | Note Added: 0132381 | |
Notes |
|
(0132018)
|
hgbot
|
2021-09-27 12:18
|
|
|
|
(0132105)
|
hgbot
|
2021-10-04 04:52
|
|
|
|
(0132106)
|
hgbot
|
2021-10-04 04:57
|
|
|
|
(0132113)
|
hgbot
|
2021-10-04 07:28
|
|
|
|
(0132114)
|
hgbot
|
2021-10-04 07:28
|
|
|
|
|
Reopened because unique constraints do not work in Oracle with null values, and we need to support this case. |
|
|
(0132125)
|
hgbot
|
2021-10-04 13:02
|
|
|
|
(0132152)
|
hgbot
|
2021-10-04 17:46
|
|
|
|
(0132225)
|
hgbot
|
2021-10-07 07:24
|
|
|
|
(0132226)
|
hgbot
|
2021-10-07 07:24
|
|
|
|
|
As of now in live builds with modules, if the certificate prefix is set, the record is saved, and then any other field is modified, when trying to save the record again we get:
Saving failed. Duplicated Sequence Prefix. Please, insert a new Gift Certificate Sequence Prefix.
As the current condition checks the same record when trying to find duplicates. |
|
|
(0132379)
|
hgbot
|
2021-10-18 08:08
|
|
|
|
(0132380)
|
hgbot
|
2021-10-18 08:17
|
|
|
|
(0132381)
|
hgbot
|
2021-10-18 08:17
|
|
|