Custom Table - Caching issue

Support MB Custom Table Custom Table - Caching issueResolved

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #41353
    wgstjfwgstjf
    Participant

    Hi guys,

    We have a situation where we are using Custom Table to insert/update a row into the database and then, shortly after may have cause to then query the same row using \MetaBox\CustomTable\API::get

    The issue is that the GET request returns only the fields returnd in the previous UPDATE request not the full row. I assume this is a caching issue... How can we make a GET request to bypass the cache and get the full row?

    Cheers,

    Will

    #41360
    PeterPeter
    Moderator

    Hello Will,

    Do you use the Rest API to get/update the value from the custom table?

    #41361
    wgstjfwgstjf
    Participant

    Hi Peter.

    We are using the following to UPDATE the row.

    
    $update_event = \MetaBox\CustomTable\API::update( $object_id, $table_name,$event_data);
    

    and then this to GET

    
    $data = \MetaBox\CustomTable\API::get( $object_id, $table_name );
    

    Thanks

    #41382
    PeterPeter
    Moderator

    Hello Will,

    I see that issue. I'm discussing the issue with my development team to see if there is a way to bypass the caching issue. I will get back to you later.

    #41463
    wgstjfwgstjf
    Participant

    Hi Peter, any update on this?

    Cheers,

    Will

    #41522
    wgstjfwgstjf
    Participant

    Still waiting for an update here guys...can we have a reply at least to confirm that this issue's being addressed?

    Cheers,

    Will

    #41523
    wgstjfwgstjf
    Participant

    Still waiting for some news on this guys...can we have a reply at least to confirm that this issue's being addressed?

    Cheers,

    Will

    #41529
    PeterPeter
    Moderator

    Hello Will,

    Our development team is working on this issue, I will let you know when I have any information.

    #46297

    any update?

    #46299
    PeterPeter
    Moderator

    Hello Oscar,

    This issue has been fixed and included in version 2.1.6 of MB Custom Table and 1.20.3 of MB AIO.

    You can read more about the changelog here https://metabox.io/plugins/meta-box-aio/changelog/

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