black friday sale

Custom Fields
Re-Envisioned
Support Meta Box Group Select fields do not show values in Meta Box Group

  • Creator
    Topic
  • #22727
    Resolved Content Pilot
    Participant

    Hi Anh,

    I found a bug in Meta Box Group somewhere between version 1.3.4 and 1.3.11

    In the group-fields.php file the filter of line 83 was changed from rwmb_field_meta to rwmb_raw_meta and that makes my group fields not load the values when it comes to select fields. They are saved in the database but they are not shown in the select fields.

    I couldn’t check the exact version on GitHub because I guess the repository is private.

    Can you review it?
    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #22731
    Long Nguyen
    Moderator

    Hi,

    Yes, the filter change from version 1.3.9. Please take some screenshots of the issue and share the code that created the group, I will try to reproduce the issue on my end.

    #22787
    Content Pilot
    Participant

    I’m trying to leave a comment and after a certain amount of characters I get “Error: Your reply cannot be edited at this time.”

    #22813
    Long Nguyen
    Moderator

    Hi,

    Have you tried to leave a new comment?

    #22831
    Long Nguyen
    Moderator

    Hi Clayton,

    I’ve received your ticket via Freshdesk:

    I keep getting an error when trying to submit more information on this bug. I hope all of this information goes through fine.
    
    To recreate this issue, 
    - Install Metabox and MB Groups on WP. 
    - Register the group field. 
    - Register the taxonomy. 
    - Create taxonomy terms. 
    - Create a post. 
    - Select a taxonomy term with the select field in the group field. 
    - Save the post. 
    - Refresh the page.
    What you will see is the select field has no value but the database stored the proper value from the select field. The new raw filter for the group field is preventing the field from showing the actual value. Please have a look at the first comment from this ticket to see where we think the problem is.

    The field taxonomy doesn’t store any terms in the post meta. Instead, it sets post terms. Just like a replacement of Category or Tag meta box of WordPress so it does not work with Group. If you want to save the taxonomy as the post meta, please use the field taxonomy_advanced.

    For more information, please follow these documentations.
    https://docs.metabox.io/fields/taxonomy-advanced/
    https://docs.metabox.io/fields/taxonomy/#data

    #22846
    Content Pilot
    Participant

    Thanks for this information Long. We had it working fine for a long time until this last update of that plugin. I switch the field type and everything works like in the past. Thank you for the help. Please close this ticket.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.