Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039683Retail ModulesCopy Retail Storepublic2018-11-23 08:242018-12-14 13:52
joniturralde93 
ranjith_qualiantech_com 
urgentmajoralways
closedout of date 
5
 
 
marvintm
Production - Confirmed Stable
No
0039683: With OB versions previous to 18Q4, Copy Store process with manual role fails
With OB versions previous to 18Q4 (due to core changes, in 18Q4 the process works as expected), Copy Store process with manual role fails.

In 17Q3.2 with module version 1.0.400 the process works fine with manual role, so probably a regression
- Install Copy Retail Store 1.0.700 in a OB version prior to 18Q4
- Create a manual role
- Log in as that role and execute copy store
- No error is thrown and it seems the process finished correctly, but a rollback was thrown and the organization was not cloned
newObject.getIdentifier() is where the process fails (as manual role only)
No tags attached.
diff parcheCDSRolManual.diff (802) 2018-11-23 08:55
https://issues.openbravo.com/file_download.php?file_id=12384&type=bug
patch issue 39683.patch (1,608) 2018-12-12 12:44
https://issues.openbravo.com/file_download.php?file_id=12428&type=bug
Issue History
2018-11-23 08:24joniturralde93New Issue
2018-11-23 08:24joniturralde93Assigned To => Retail
2018-11-23 08:24joniturralde93Triggers an Emergency Pack => No
2018-11-23 08:55joniturralde93File Added: parcheCDSRolManual.diff
2018-11-23 09:21joniturralde93Resolution time => 1544742000
2018-11-23 09:25joniturralde93Description Updatedbug_revision_view_page.php?rev_id=17953#r17953
2018-11-26 10:11ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-11-26 10:11ranjith_qualiantech_comStatusnew => scheduled
2018-11-28 07:54rafarodaIssue Monitored: rafaroda
2018-12-12 12:44ranjith_qualiantech_comFile Added: issue 39683.patch
2018-12-13 08:03ranjith_qualiantech_comNote Added: 0108569
2018-12-14 10:42egoitzRegression level => Production - Confirmed Stable
2018-12-14 13:52marvintmReview Assigned To => marvintm
2018-12-14 13:52marvintmNote Added: 0108612
2018-12-14 13:52marvintmStatusscheduled => closed
2018-12-14 13:52marvintmResolutionopen => out of date

Notes
(0108569)
ranjith_qualiantech_com   
2018-12-13 08:03   
Issue rises in Copy Store Module 1.0.700 due the Organization access is not present while copying data for new store. Attached patch (issue 39683.patch) will fix this issue.
(0108612)
marvintm   
2018-12-14 13:52   
This issue was fixed in subsequent versions of the module, but the patches attached to it can be used to prevent it in case somebody cannot update for some reason.