Problem when Merging Multilocations

This topic contains 7 replies, has 3 voices, and was last updated by  Kiran 6 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #385823

    Neil Hall
    Buyer
    Post count: 83

    Hi Guys

    I think I may have found a bug when merging Multilocations, I just wonder if you can confirm it and if there is a fix. I am running GeoDirectory with Custom Post Types and Location Manager.

    I have a number of CPT’s set up where they do not have the location function. For example ‘Movie’. If I go into the backend using phpMyAdmin I can see the record as displayed in the file ‘Before Location Merge’ As you can see there are no location details.

    I also have a number of CPT’s that do have locations, and sometimes, depending on what language they are posted in the same location can have a different name, for example Schiedam, South Holland, Netherlands (which is my Default City) and Schiedam, Zuid-Holland, Netherlands.

    I went into GeoDirectory > Multilocation > Manage Locations > and selected the two addresses above and merged them. Everything went well until I look at the records for the CPT’s that do not have location.

    After the merge ALL of the non-location CPT’s now have the Default Location in them as you can see in the ‘After Location Merge’ file. These would be ‘post_locations’ , ‘post_city’ , ‘post_region’ and ‘post_country’.

    Why does the Location Merge adjust fields in the Database for CPT’s that do not need Locations? This has caused me a bit of a problem as I wrote a piece of code which switches depending on if the ‘post_city’ has a value in it. If there is a quick solution to this it would be very much appreciated.

    Best Regards
    Neil

    #385846

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #385854

    Neil Hall
    Buyer
    Post count: 83
    This reply has been marked as private.
    #385855

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #385858

    Neil Hall
    Buyer
    Post count: 83
    This reply has been marked as private.
    #385872

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #385899

    Neil Hall
    Buyer
    Post count: 83

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #385900

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket