Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039465Retail ModulesCopy Retail Storepublic2018-10-17 09:452018-11-07 23:06
lmonreal 
rqueralta 
highmajoralways
newopen 
5
pi 
 
marvintm
No
0039465: Copy store is triggering an error "There is a constraint defined that was not satisfied"
It seems that this migh be a regression, it is not possible to use Copy store.

When doing a copy store and entering required values the process is not completed because it is triggering the error "There is a constraint defined that was not satisfied. Please check data entered".

However, data entered is correct. It seems that there is a problem when copying the payment methods of the POS Terminal type.

Reproduced in: retail_modules_pgsql_pi
1. Open copy store
2. Enter values:
-Store to copy
-Parent organization
-Defaults
-Search key
-Name
-Currency
-Country
-Untick Use file
-POS Terminal search key
-Business partner category
No tags attached.
png Copy_store_issue2.png (154,940) 2018-10-17 09:45
https://issues.openbravo.com/file_download.php?file_id=12276&type=bug
png

png Copy_store_issue.png (65,638) 2018-10-17 09:48
https://issues.openbravo.com/file_download.php?file_id=12277&type=bug
png
Issue History
2018-10-17 09:45lmonrealNew Issue
2018-10-17 09:45lmonrealAssigned To => Retail
2018-10-17 09:46lmonrealFile Added: Copy_store_issue2.png
2018-10-17 09:46lmonrealTriggers an Emergency Pack => No
2018-10-17 09:48lmonrealFile Added: Copy_store_issue.png
2018-10-17 14:32rqueraltaAssigned ToRetail => rqueralta
2018-10-17 14:32rqueraltaStatusnew => scheduled
2018-10-17 22:46hgbotCheckin
2018-10-17 22:46hgbotNote Added: 0107380
2018-10-17 22:46hgbotStatusscheduled => resolved
2018-10-17 22:46hgbotResolutionopen => fixed
2018-10-17 22:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/e56b10b6f1e5aa70940e4f681c86112b02bf252b [^]
2018-10-29 11:27marvintmReview Assigned To => marvintm
2018-10-29 11:27marvintmStatusresolved => closed
2018-10-29 11:27marvintmFixed in Version => RR19Q1
2018-11-07 23:05lmonrealNote Added: 0107786
2018-11-07 23:05lmonrealStatusclosed => new
2018-11-07 23:05lmonrealResolutionfixed => open
2018-11-07 23:05lmonrealFixed in VersionRR19Q1 =>

Notes
(0107380)
hgbot   
2018-10-17 22:46   
Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: e56b10b6f1e5aa70940e4f681c86112b02bf252b
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Oct 17 16:35:30 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/e56b10b6f1e5aa70940e4f681c86112b02bf252b [^]

Fixed issue 39465: Copy store is triggering an error "There is a constraint
defined that was not satisfied"

---
M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java
---
(0107786)
lmonreal   
2018-11-07 23:05   
I have tested this again and I am facing the same issue "There is a constraint defined that was not satisfied"

https://livebuilds.openbravo.com/retail_modules_pgsql_pi/ [^]