taxonomy_advanced for settings does not save data any more

Support General taxonomy_advanced for settings does not save data any moreResolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #39956
    webentwicklerinwebentwicklerin
    Participant

    starting with (at least) Meta Box (basic plugin, not AIO) V 5.6.14 categories of taxonomy_advanced fields with multiple terms are not stored any more.
    example field (used inside a cloneable group):

    [
    'name' => __( 'Show in', 'textdomain' ),
    'id' => 'show_in',
    'type' => 'taxonomy_advanced',
    'taxonomy' => ['product_cat'],
    'field_type' => 'select_advanced',
    'multiple' => true
    ],

    #39960
    PeterPeter
    Moderator

    Hello,

    Thanks for your feedback.

    I can reproduce the issue on my demo site. Actually, the data is saved to the database but the selected value does not display after saving the post. I've escalated this issue to the development team to fix it in the next update.

    #39972
    webentwicklerinwebentwicklerin
    Participant

    hello Peter,

    thanks for checking the issue and reporting. so we are looking forward to the next update :).

    #40126
    Marius GünterMarius Günter
    Participant

    Hi there,

    I have the same problem.
    I have a settings page with a group. Inside that group there is a taxonomy_advanced field.
    When I save the settings page, the selected values of the taxonomy_advanced field aren't saved anymore.

    When does it be fixed?

     [
                'name'       => '',
                'id'         => 'options_cat',
                'type'       => 'group',
                'clone'      => true,
                'sort_clone' => true,
                'add_button' => 'Hinzufügen',
                'fields'     => [
                    [
                        'name'    => 'Posttype',
                        'id'      =>  'cpt',
                        'type'    => 'select',
                        'options'         => [
                            'video'   => 'Video',
                            'podcast' => 'Podcast',
                            'event'    => 'Termin',
                            'post'     => 'Blog',
                            'forum'     => 'Forum',
                        ],
                        'columns' => 2,
                    ],
                    [
                        'name'        => 'Kategorien',
                        'id'          => 'terms',
                        'type'        => 'taxonomy_advanced',
                        'taxonomy'    => ['category'],
                        'field_type'  => 'checkbox_list',
                        'placeholder' => 'Kategorie auswählen',
                        'multiple'    => true,
                        'columns' => 10,
                    ],
                ],
            ],
    #40127
    Marius GünterMarius Günter
    Participant

    ...or is there a quick fix / patch?

    #40133
    PeterPeter
    Moderator

    Hello Marius,

    This issue has been fix in the commit https://github.com/wpmetabox/meta-box/commit/d18fe9a84d29fab1b66a5454b19b05c8c7cc380d
    You can apply the changes on your site while waiting for the new update.

    #40388
    webentwicklerinwebentwicklerin
    Participant

    seems to be fixed with 5.6.16 now - thanks!

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