Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0038108 | Retail Modules | Web POS | public | 2018-03-13 10:28 | 2018-03-19 09:48 |
Reporter | maite | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR18Q2 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | 340 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0038108: Business Partner stuck in Errors While Importing due to "violates unique constraint "ad_user_un_username"" error | ||||
Description | When several business partners with same name are created, the 4 first digits of uuid are concatenated to the value field in order to try to synchronize it. But this 4 first digits could not be unique so error is raised org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "ad_user_un_username" Detail: Key (username)=(test_9B28) already exists. | ||||
Steps To Reproduce | 1. From the POS terminal, run "New customer" process. Set name= test and any address 2. Repeat step 1 3. Repeat step 1 3. Access backoffice and realize that Business Partner records with value "test", "test_9535" and "test_4EDE" and User records with same usernames have been created In case uuid generated starts with the same 4 digits you will obtain the error and Business Partner will be stuck in Errors While Importing window | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-03-13 10:28 | maite | New Issue | |||
2018-03-13 10:28 | maite | Assigned To | => Retail | ||
2018-03-13 10:28 | maite | OBNetwork customer | => Yes | ||
2018-03-13 10:28 | maite | Support ticket | => 340 | ||
2018-03-13 10:28 | maite | Resolution time | => 1491170400 | ||
2018-03-13 10:28 | maite | Triggers an Emergency Pack | => No | ||
2018-03-13 10:28 | maite | Issue Monitored: networkb | |||
2018-03-13 12:55 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2018-03-13 12:55 | ranjith_qualiantech_com | Status | new => scheduled | ||
2018-03-13 13:05 | marvintm | Resolution time | 1491170400 => 1522706400 | ||
2018-03-14 09:48 | hgbot | Checkin | |||
2018-03-14 09:48 | hgbot | Note Added: 0103233 | |||
2018-03-14 09:48 | hgbot | Status | scheduled => resolved | ||
2018-03-14 09:48 | hgbot | Resolution | open => fixed | ||
2018-03-14 09:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1dd5a639244ae28edf77e6baf196137e2f3cdc21 [^] | ||
2018-03-19 09:48 | marvintm | Review Assigned To | => marvintm | ||
2018-03-19 09:48 | marvintm | Status | resolved => closed | ||
2018-03-19 09:48 | marvintm | Fixed in Version | => RR18Q2 |
Notes | |||||
|
|||||
|
|