-
October 27, 2019, 10:05 PM
#1
Master
Bug with deleting some of location
Hello!
I tried several times, when i delete the location "Moscow" with a key countries_russia_moscow from the location list of country Russia another location, the location "Moscow Oblast" with a key countries_russia_moscow_oblast is automatically deleted too. I checked may be they have the same Key, but the Keys are different: countries_russia_moscow
and countries_russia_moscow_oblast.
It is important to find out the cause and fix this error, because this can happen with other locations too.
-
October 28, 2019, 03:58 AM
#2
Flynax developer
Hello,
The fact is that the countries_russia_moscow_oblast key is considered by the plugin as a child of countries_russia_moscow which is correct
because it goes after the parent key "moscow" so it will remove all items under this parent key
if you need to create a new parent item you need to go to "Russia" entry in multi-field plugin (using 'Manage' button) and click "Add a New Item"
and it will create an item with correct key path
if you have other questions regarding this plugin you'd better create a ticket
-
October 28, 2019, 09:55 AM
#3
Master
This is not right, Rudy.
First, why they are at the same list?
If the location "Moscow Oblast" is a child of the location "Moscow" then the first should be on the list of the second's as a child, secondly should be the opposite, “Moscow” should be a child of "Moscow Oblast", which I try to do. Moscow is located in Moscow Oblast.
-
October 28, 2019, 12:05 PM
#4
Flynax developer
I've checked and the problem is that "Moscow Oblast" has initially incorrect key in our location database
I'll create a task regarding this issue and it will be fixed later
in the meantime, you need to create a new item of "Moscow Oblast" with unique key and recreate its sub-locations
sorry for the inconveniences!
-
October 28, 2019, 12:34 PM
#5
Master
-
October 28, 2019, 03:23 PM
#6
Master
DB table fl_geo_mapping has Lat, Lng colums
should i add these values too???
That will be a hard work.
Can i to fix this issue in other way?
-
October 29, 2019, 04:33 AM
#7
Flynax developer
No, it's related to 'Location Finder' plugin which has its own database