Listing post tags issue

This topic contains 3 replies, has 3 voices, and was last updated by  Silvia Frati 5 years, 7 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #445794

    Silvia Frati
    Expired Member
    Post count: 30

    Hello,

    We have found a little bug with the listing tags, step to reproduce are the following:

    WP version: 4.9.6
    GD: 1.6.27
    GD advanced search filter: 1.4.93
    GD CPT: 1.3.7

    1) Create two tags (or jump to step 2)
    2) Create a listing and assign two tags
    Database state after point 2:
    – wp_posts has the new listing
    – wp_geodir_gd_place_detail has the new listing aswell, field post_tags contains the tag names divided by commas (Ex: tag1,tag2)
    – wp_term_relationships contains tag<->post association
    ALL GOOD
    3) Change tag1 name to tag1111 from the tags management panel
    Database state after point 3:
    – wp_geodir_gd_place_detail post_tags field gets updated to the new tag name
    ALL GOOD
    4) Delete tag1111 from the tags management panel
    Database state after point 4:
    – wp_geodir_gd_place_detail post_tags field still contains the deleted tag “tag111)
    NO GOOD

    Would be good to have it always synched to what happens to tags since it’s actually a redundant data which may be queried for any reason. Ofc if we query the default WP taxonomies table we would find the correct and current tags without the just deleted one

    #445831

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for reporting, Kiran will look at this on monday.

    Thanks,

    Stiofan

    #445972

    Kiran
    Moderator
    Post count: 7069

    Hi Silvia,

    This has been fixed and fix will be available in next release.

    You can find patch ate here: https://github.com/GeoDirectory/geodirectory/pull/473/commits/218a701bb2fb6198d5a0c8f08efe034249a073fa

    Thanks,
    Kiran

    #445974

    Silvia Frati
    Expired Member
    Post count: 30

    Ok, thank you. We will look forward for the next release. You can close this 🙂

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

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

Open Support Ticket