Cloneable Group Data Not Displaying in Backend Edit Screen

Support Meta Box AIO Cloneable Group Data Not Displaying in Backend Edit Screen

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #48692
    Marcio GouveiaMarcio Gouveia
    Participant

    Hi,

    I’ve created a cloneable group in Metabox with two subfields. When I add and save data, it saves correctly — I’ve confirmed that the data is stored in the database, and I can also query and display it successfully in a Bricks Builder query loop.

    The issue is that when I return to the backend page edit screen, the subfields appear empty. If I enter new values and save, they overwrite the previous data (essentially a full re-write).

    I have Metabox AIO version 2.3.1 and the php max_input_vars increased.

    To summarise:

    Data is stored in the database (confirmed).

    Data is retrievable in Bricks query loops.

    Subfields appear empty in the backend edit screen, even though they have saved values.

    Re-entering values replaces the existing data.

    Could you advise why the saved values are not being pre-filled in the backend edit screen, and how I can fix this?

    I have recorded a video, where this symptom is clearly visible. I can share it.

    Thanks in advance,

    Marcio

    #48698
    PeterPeter
    Moderator

    Hello Marcio,

    Thanks for reaching out.

    Please share the video, export the field group and share the JSON file with me. I will import the field group to my site, try to reproduce and investigate the issue.
    Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #48731
    Marcio GouveiaMarcio Gouveia
    Participant

    Hello Peter,

    thank you for your reply.

    Here's a zip with both files (video and json).

    https://alojaki.pt/dnl/missing_data.zip

    Thank you.

    #48742
    PeterPeter
    Moderator

    Hello,

    Please enable the option Save field value for sub-fields in the group field to show the saved value, check this screenshot https://imgur.com/0EOEca2

    Let me know if it helps.

    #48752
    Marcio GouveiaMarcio Gouveia
    Participant

    The was Save field value enabled all along or should be.

    I believe this was a bug with the new UI. I dod not disable Save field value, as it is enabled by default. But the group and the cloneable options were created using the RC of the new UI. And, somehow, the Save field value, got lost.

    PS: by the way, there is also another bug in the new UI, if activate the Start with no inputs option in the cloneable group, the fields disappear from the UI. If i need to edit them, i need to remove that option, edit and then put it back. Not a good UX.

    #48843
    CMClarkCMClark
    Participant

    Hi,
    I am also having this issue on a clients site.
    I've got a group with 3 elements, dropdown(image/video), image, number). (This is a slider that can show images or video from vimeo by id). It's been running for over 6 years without issue, we have not made changes to the code or configuration.

    When the client edits a post with the given group the group details do not display.
    It looks like the deserialization is failing.

    Please help us find a fix, or tell me a previous version of metabox that I can use without the issue.

    Video: https://screenrec.com/share/MEqvY6zUB9

    Serialized data in DB, (carriage returns added for readability)
    a:3:{
    i:0;a:2:{
    s:11:"slider_type";s:5:"image";s:12:"slider_image";s:4:"9566";
    }i:1;
    a:2:{
    s:11:"slider_type";s:5:"image";s:12:"slider_image";s:4:"9559";
    }i:2;
    a:2:{
    s:11:"slider_type";s:5:"image";s:12:"slider_image";s:4:"9589";
    }
    }

    --Field JSON
    https://pastebin.com/NuFLNf48

    #48854
    PeterPeter
    Moderator

    Hello CMClark,

    Can you please enable the option "Save field value" for each subfields and recheck the issue?
    screenshot https://imgur.com/kwc83gm

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