Grav: Admin: Blueprints & Taxonomies error

Created on 19 Aug 2017  路  5Comments  路  Source: getgrav/grav

Hi there, I think I found a bug with the admin page editing. I created a blueprint which contains Taxonomies. Taxonomy is also in the Options tab, so technically it's on the page twice.

Behaviour:

  • Go to the custom tab and edit the taxonomy
  • Remove a tag
  • Press Save
  • Saved, but tag still present. If you press save and do nothing, the tag is added twice (to the page file)

Blueprint:

title: Item
'@extends':
    type: default
    context: blueprints://pages

form:
  fields:
    tabs:

      fields:
        blog:
          type: tab
          title: TAB

          fields:
            header.taxonomy:
              type: taxonomy
              label: PLUGIN_ADMIN.TAXONOMY
              multiple: true
              validate:
                type: array

version: Grav v1.3.2 - Admin v1.5.2

question

Most helpful comment

@rhukster , @matejkramny , It's happening the same to me , does this have any kind of solution?

All 5 comments

Actually this error persists even though the duplicate taxonomy is removed.

It isn't possible to remove taxonomies from the admin panel

Did you try to unset the taxonomy field: https://learn.getgrav.org/forms/blueprints/advanced-features#removing-fields-properties-unset

Hi @rhukster. I removed my blueprint, however the taxonomy was still duplicating the tags and was unable to remove them

@rhukster , @matejkramny , It's happening the same to me , does this have any kind of solution?

same here

Was this page helpful?
0 / 5 - 0 ratings