Custom Table Bug fix

Support MB Custom Table Custom Table Bug fix

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7221
    vavakcovavakco
    Participant

    Hi
    in custom table when save a post to insert database i have problem and get not activity and update date base. after debug i found this

    mb-custom-table\inc\class-mb-custom-table-loader.php(line:58)

    when create many meta box , and priority top to down is save to metatable and last metabox registered (order by include php file ) was save in database, in function read all metabox registered and when look first array is not 'custom_table' in line 58 action 'return;'.
    and exit function and not act update or insert and this function is bad work. so change 'return' to 'continue' this function is correct.and look all metabox until with have 'table' and update or insert to custom table.

    please on next version fix it

    thx.

    #7227
    Truong GiangTruong Giang
    Participant

    Hi there,

    We have just released new version with patch for this issue.

    Thank you very much for your report.

    #7234
    vavakcovavakco
    Participant

    You're welcome.

    #7236
    vavakcovavakco
    Participant

    i have problem. when a post delete and remove in trash. not remove row in custom table relation.As a rule,remove row on custom table with post id removed in trash.
    may fix it?

    #7237
    vavakcovavakco
    Participant

    fix it
    mb-custom-table\inc\class-mb-custom-table-loader.php(line:66)

    
    if ( $row ) {
    	foreach ( $row as $key => $value ) {
    		$saved_data[ $key ] = is_array( $value ) ? maybe_serialize( $value ) : $value;
    	}
    }
    #7261
    Truong GiangTruong Giang
    Participant

    Hi there,

    We are fixing this problem. Please wait for us.

    Thank you very much.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom Table Bug fix’ is closed to new replies.