Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041634Retail ModulesCopy Retail Storepublic2019-08-12 13:452019-09-20 14:23
samuel_nicuesa 
rqueralta 
highmajoralways
closedfixed 
5
pi 
RR19Q4 
marvintm
No
0041634: Request to create a new centralized function to check if the new Object created contains the same name or search key
Request to create a new centralized function to check if the new Object created contains the same name or search key
In this case, the Original Organization name will be changed by the new Organization Name when a new Object is created.
Create a centralized function that will be executed for all object copied using Copy Store Process.

If the new Object created contains the same name or search key as the original organization name we have to update the new Object using the Current organization name and not the original organization name.
No tags attached.
causes defect 0043629 closed guilleaer Copy Store process is creating erroneous role's name 
Issue History
2019-08-12 13:45samuel_nicuesaNew Issue
2019-08-12 13:45samuel_nicuesaAssigned To => Retail
2019-08-12 13:45samuel_nicuesaResolution time => 1567980000
2019-08-12 13:45samuel_nicuesaTriggers an Emergency Pack => No
2019-08-20 00:54rqueraltaAssigned ToRetail => rqueralta
2019-08-20 00:54rqueraltaStatusnew => scheduled
2019-08-29 22:39hgbotCheckin
2019-08-29 22:39hgbotNote Added: 0114338
2019-08-29 22:39hgbotStatusscheduled => resolved
2019-08-29 22:39hgbotResolutionopen => fixed
2019-08-29 22:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/09872792f88a7cd547e4a25251beee834e410168 [^]
2019-09-16 09:00marvintmReview Assigned To => marvintm
2019-09-16 09:00marvintmStatusresolved => closed
2019-09-16 09:00marvintmFixed in Version => RR19Q4
2019-09-19 18:15hgbotCheckin
2019-09-19 18:15hgbotNote Added: 0114671
2019-09-20 14:23hgbotCheckin
2019-09-20 14:23hgbotNote Added: 0114704
2020-04-17 10:53dmitry_mezentsevRelationship addedcauses 0043629

Notes
(0114338)
hgbot   
2019-08-29 22:39   
Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: 09872792f88a7cd547e4a25251beee834e410168
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Aug 29 16:34:31 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/09872792f88a7cd547e4a25251beee834e410168 [^]

Fixed issue 41634: Request to create a new centralized function to check if the
new Object created contains the same name or search key

- Moved to centralized function getObjectInTree the logic to replace the name of
the new objects

---
M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java
---
(0114671)
hgbot   
2019-09-19 18:15   
Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: 961b3a93eb69b9346ab196599e6d9ca746c5d498
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Sep 19 18:15:28 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/961b3a93eb69b9346ab196599e6d9ca746c5d498 [^]

Related to issue 41634. Moved name/sk fixing code to central clone method.
> This will ensure that it works in all cloned entities, and not in only a handful of them.

---
M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java
---
(0114704)
hgbot   
2019-09-20 14:23   
Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: a497f244af53311d44ff44e47a578afb4126a31e
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Fri Sep 20 14:22:55 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/a497f244af53311d44ff44e47a578afb4126a31e [^]

Related to issue 41634. Prevent NPE in cases name column has null value

---
M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java
---