[jira] [Updated] (OFBIZ-6237) function linkGeos deletes existing GeoAssocs for geoId

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-6237) function linkGeos deletes existing GeoAssocs for geoId

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Himanil Gupta updated OFBIZ-6237:
---------------------------------
    Attachment: OFBIZ-6237-1412.patch
                OFBIZ-6237-trunk.patch
                OFBIZ-6237-1307.patch

As no need of deleting the existing GeoAssoc(s) while creating the new one, so removed the code which deletes the existing GeoAssoc and adding one more check for geoAssocTypeId to filter out the assocs accordingly.

Attaching patch for the fix of issue for OFBIZ trunk, 13.07 and 14.12 branch.

> function linkGeos deletes existing GeoAssocs for geoId
> ------------------------------------------------------
>
>                 Key: OFBIZ-6237
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6237
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Jacques Le Roux
>              Labels: Geolocation
>         Attachments: OFBIZ-6237-1307.patch, OFBIZ-6237-1412.patch, OFBIZ-6237-trunk.patch
>
>
> When creating a new GeoAssoc between a geoId and a geoIdTo all existing GeoAssocs for the geoId are removed. It should however check for existence and add if it doesn't exist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)