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

2015-06-20 Thread Arun Patidar (JIRA)

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

Arun Patidar updated OFBIZ-6237:

Sprint: Community Day 2 - 2015

> 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: Arun Patidar
>  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)


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

2015-06-20 Thread Himanil Gupta (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)


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

2015-04-09 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-6237:

Labels: Geolocation  (was: )

> 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
>  Labels: Geolocation
>
> 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)