Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044957Retail ModulesCopy Retail Storepublic2020-09-01 17:362020-10-28 07:01
malsasua 
prakashmurugesan88 
normalminoralways
closedfixed 
5
 
 
No
0044957: Missing documentation about message errors returned by Copy Store process
When error happens in Copy Store process, the message error is not clear, and there is not documentation about the message error
n/a
No tags attached.
txt example2_log.txt (13,677) 2020-09-11 12:36
https://issues.openbravo.com/file_download.php?file_id=14957&type=bug
png example2_screenshot.png (11,018) 2020-09-11 12:36
https://issues.openbravo.com/file_download.php?file_id=14958&type=bug
png

png example1.png (188,420) 2020-09-11 12:37
https://issues.openbravo.com/file_download.php?file_id=14959&type=bug
png

log copystore_error.log (34,834) 2020-09-24 16:04
https://issues.openbravo.com/file_download.php?file_id=14993&type=bug
png error2.png (271,859) 2020-10-16 09:45
https://issues.openbravo.com/file_download.php?file_id=15024&type=bug
txt logCopyStore.txt (35,230) 2020-10-16 09:45
https://issues.openbravo.com/file_download.php?file_id=15025&type=bug
Issue History
2020-09-01 17:36malsasuaNew Issue
2020-09-01 17:36malsasuaAssigned To => Retail
2020-09-01 17:36malsasuaTriggers an Emergency Pack => No
2020-09-02 10:26malsasuaNote Added: 0122543
2020-09-02 10:28malsasuaResolution time => 1599688800
2020-09-11 08:14malsasuaFile Added: Error.png
2020-09-11 12:35malsasuaNote Added: 0122966
2020-09-11 12:36malsasuaFile Added: example2_log.txt
2020-09-11 12:36malsasuaFile Added: example2_screenshot.png
2020-09-11 12:37malsasuaFile Deleted: Error.png
2020-09-11 12:37malsasuaFile Added: example1.png
2020-09-17 07:35prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-09-17 07:35prakashmurugesan88Statusnew => scheduled
2020-09-21 06:31prakashmurugesan88Note Added: 0123228
2020-09-21 06:31prakashmurugesan88Statusscheduled => feedback
2020-09-21 06:52marvintmResolution time1599688800 => 1601244000
2020-09-23 06:41marvintmAssigned Toprakashmurugesan88 => malsasua
2020-09-24 16:04malsasuaNote Added: 0123354
2020-09-24 16:04malsasuaFile Added: copystore_error.log
2020-09-24 16:05malsasuaAssigned Tomalsasua => prakashmurugesan88
2020-09-24 16:05malsasuaStatusfeedback => new
2020-09-24 16:52marvintmResolution time1601244000 => 1601416800
2020-09-29 07:11prakashmurugesan88Statusnew => scheduled
2020-10-01 04:49hgbotNote Added: 0123468
2020-10-05 07:00hgbotResolutionopen => fixed
2020-10-05 07:00hgbotStatusscheduled => closed
2020-10-05 07:00hgbotNote Added: 0123502
2020-10-05 07:00hgbotNote Added: 0123503
2020-10-16 09:42malsasuaNote Added: 0123733
2020-10-16 09:42malsasuaStatusclosed => new
2020-10-16 09:42malsasuaResolutionfixed => open
2020-10-16 09:45malsasuaFile Added: error2.png
2020-10-16 09:45malsasuaFile Added: logCopyStore.txt
2020-10-19 16:26prakashmurugesan88Statusnew => scheduled
2020-10-19 16:38hgbotNote Added: 0123778
2020-10-23 08:02hgbotNote Added: 0123896
2020-10-23 08:02hgbotResolutionopen => fixed
2020-10-23 08:02hgbotStatusscheduled => closed
2020-10-23 08:02hgbotNote Added: 0123897
2020-10-28 06:23hgbotNote Added: 0123961
2020-10-28 07:01hgbotNote Added: 0123963
2020-10-28 07:01hgbotNote Added: 0123964

Notes
(0122543)
malsasua   
2020-09-02 10:26   
Added one example: check attachment1 -> no info about what is the Sequence name that it is repeated
(0122966)
malsasua   
2020-09-11 12:35   
Added second example (example2 files) :
. wrong configuration on channel touchpoint type:
   - the name of one inactive till which is 01 was too short, it needs to be 3 digits
(0123228)
prakashmurugesan88   
2020-09-21 06:31   
Unable to reproduce errors as mentioned in this issue.
Could you please add steps to reproduce any of the error mentioned in this issue.
(0123354)
malsasua   
2020-09-24 16:04   
For the first case, attached you can find the tomcat log traces. In the tomcat log traces, it is displayed the sequence name repeated.

Could be possible to add this info in the Error Message displayed in BO?
(0123468)
hgbot   
2020-10-01 04:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/4 [^]
(0123502)
hgbot   
2020-10-05 07:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: a6c53eabf8c690b23564885877140f8f7c7df2db
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-01T08:46:48+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/a6c53eabf8c690b23564885877140f8f7c7df2db [^]

Fixed BUG-44957 : Included unique constraint validation on key fields to show value of the property that causes violation

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
M src/org/openbravo/retail/copystore/process/POSTerminalsProcess.java
M src/org/openbravo/retail/copystore/process/UserRolesProcess.java
M src/org/openbravo/retail/copystore/process/UserTerminalsProcess.java
M src/org/openbravo/retail/copystore/process/UsersProcess.java
---
(0123503)
hgbot   
2020-10-05 07:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/4 [^]
(0123733)
malsasua   
2020-10-16 09:42   
The problem is happening again.

Attached a case where the problem is reproducible
(0123778)
hgbot   
2020-10-19 16:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/7 [^]
(0123896)
hgbot   
2020-10-23 08:02   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/7 [^]
(0123897)
hgbot   
2020-10-23 08:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: 81ee8224f39cc41e8a9ffade8d413b8a7d267ac6
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-19T20:02:08+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/81ee8224f39cc41e8a9ffade8d413b8a7d267ac6 [^]

Fixed BUG-44957: Handled duplicate names and searchkey validation within store
* When copy store is done, names for document sequence, document type are formed based on original store data
* There is possibility of formation of same name/searchkey under special scenarios.
* As these data will not be DB, it is needed to be validated before it is flushed

---
M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---
(0123961)
hgbot   
2020-10-28 06:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/11 [^]
(0123963)
hgbot   
2020-10-28 07:01   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: d3816bf5348565c6c077bdd84bd6bbd6a1df6ddc
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-27T19:11:42+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/d3816bf5348565c6c077bdd84bd6bbd6a1df6ddc [^]

Fixed BUG-44957: Fixed error on casting newobject
* Changed to correct object instead of sequence

---
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---
(0123964)
hgbot   
2020-10-28 07:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/11 [^]