Unable to create new tags in tag group editor

AI-generated summary

NcM reported a bug where creating new tags directly within the tag group editor fails to save them, despite the tag appearing in the UI. The issue was confirmed when the new tag v25_2_12 was missing from the JSON payload upon saving, forcing users to create tags externally via the /tags page first. Moin reproduced the issue and suggested the same workaround. sam acknowledged the report and promised a quick fix. The issue has since been resolved by zogstrip, who linked to the specific commit 8750ae2e18 that addresses the problem.

We have encountered an issue with trying to create new tags within the tag group manager.

Our work-around is first creating the tag outside of the tag groups and then adding it in, but shouldn’t we be able to create a tag right in the tag group editor?

When trying to create a v25_2_12 tag within one of our tag groups, I can see it shows in the ‘Tags in this group’ view, but attempts to save the changes doesn’t include the new tag in the JSON body, but I see every previously selected tag defined.

{
    "success": "OK",
    "tag_group": {
        "id": 14,
        "name": "SD Partner Feature Highlights",
        "tags": [
            {
                "id": 211,
                "name": "v25_2_10",
                "slug": "v25-2-10"
            },
            {
                "id": 212,
                "name": "v25_2_11",
                "slug": "v25-2-11"
            },
            {
                "id": 204,
                "name": "v25_2_3",
                "slug": "v25-2-3"
            },
            {
                "id": 205,
                "name": "v25_2_4",
                "slug": "v25-2-4"
            },
            {
                "id": 206,
                "name": "v25_2_5",
                "slug": "v25-2-5"
            },
            {
                "id": 207,
                "name": "v25_2_6",
                "slug": "v25-2-6"
            },
            {
                "id": 208,
                "name": "v25_2_7",
                "slug": "v25-2-7"
            },
            {
                "id": 209,
                "name": "v25_2_8",
                "slug": "v25-2-8"
            },
            {
                "id": 210,
                "name": "v25_2_9",
                "slug": "v25-2-9"
            }
        ],
        "parent_tag": [],
        "one_per_topic": false,
        "permissions": {
            "0": 3
        }
    }
}
5 Likes

I can reproduce, so I moved this to Contribute > Bug.

I think, as a workaround, you could create the tag on the /tags page and add it to the tag group afterward.

2 Likes

We are on it, should have it sorted very soon!

1 Like

@NcM this has been fixed by

1 Like