Duplicate Product, didn't duplicate the content
----------------------------------------------- Key: OFBIZ-3804 URL: https://issues.apache.org/jira/browse/OFBIZ-3804 Project: OFBiz Issue Type: Improvement Components: product Affects Versions: SVN trunk Reporter: Sascha Rodekamp Fix For: SVN trunk Attachments: OFBIZ-3804_DuplicateProduct_CloneContent.patch Hey, i noticed that the Product duplicate function didn't really dublicate the product content, just set a reference to the original content. When i now change the content from the duplicated product, the content of the original product is changed to. So here is a patch that dublicate the content, dataresource and electronic text (if exists), too. The result is a true copy of the original product that can be edit without sideeffects to the original product. Cheers Sascha :-) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp updated OFBIZ-3804: ----------------------------------- Attachment: OFBIZ-3804_DuplicateProduct_CloneContent.patch > Duplicate Product, didn't duplicate the content > ----------------------------------------------- > > Key: OFBIZ-3804 > URL: https://issues.apache.org/jira/browse/OFBIZ-3804 > Project: OFBiz > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Sascha Rodekamp > Fix For: SVN trunk > > Attachments: OFBIZ-3804_DuplicateProduct_CloneContent.patch > > > Hey, > i noticed that the Product duplicate function didn't really dublicate the product content, just set a reference to the original content. > When i now change the content from the duplicated product, the content of the original product is changed to. > So here is a patch that dublicate the content, dataresource and electronic text (if exists), too. The result is a true copy of the original product that can be edit without sideeffects to the original product. > Cheers Sascha :-) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-3804. ---------------------------------- Assignee: Jacques Le Roux Fix Version/s: Release Branch 09.04 Release Branch 10.04 Resolution: Fixed Thanks Sascha, Your patch is in trunk at r951381. I have also backported to R10.04 at r951395 and R9.04 at r951394 as I consider this a logical bug > Duplicate Product, didn't duplicate the content > ----------------------------------------------- > > Key: OFBIZ-3804 > URL: https://issues.apache.org/jira/browse/OFBIZ-3804 > Project: OFBiz > Issue Type: Improvement > Components: product > Affects Versions: SVN trunk > Reporter: Sascha Rodekamp > Assignee: Jacques Le Roux > Fix For: Release Branch 09.04, Release Branch 10.04, SVN trunk > > Attachments: OFBIZ-3804_DuplicateProduct_CloneContent.patch > > > Hey, > i noticed that the Product duplicate function didn't really dublicate the product content, just set a reference to the original content. > When i now change the content from the duplicated product, the content of the original product is changed to. > So here is a patch that dublicate the content, dataresource and electronic text (if exists), too. The result is a true copy of the original product that can be edit without sideeffects to the original product. > Cheers Sascha :-) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |