„Speichern“-Schaltfläche bleibt ausgegraut, wenn die Kategorie benutzerdefinierte Berechtigungseinstellungen hat

I edited the topic’s title to point out the exact issue, see the replies for details


When editing category settings, the save button is and stays greyed out.

Oddly, the button will magically be active again if we alter the category color inputs, either by changing the category color input, or by clicking the text color input, then the category color input.

The button is never not greyed out for categories that don’t have default permissions settings (everyone can read, post and create), or are pre-seeded categories.

I may have missed some subtleties about this bug, but this is what I experience.

Discourse version: 3.6.0.beta1-dev(0fa102b838)

Safe mode doesn’t fix the issue.

2 „Gefällt mir“

FWIW Looking at your first video the text colour is set as #FFF which I don’t think passes the validation for the field (it needs to be 6 characters or more):

Having that too short would grey out the save button.

2 „Gefällt mir“

Wow. This is the issue. The pre-seeded categories thing doesn’t exist, the text color was set to #FFFFFF in this one category.

If I set #FFFFFF as the text color category, then the problem vanishes.

/admin/logs/staff_action_logs shows that I never set the text colors to #FFF. It was the default value. It was a migration from vBulletin to Discourse, if it’s of some importance.

Perhaps the import script set the value to #FFF, avoiding the validation script and creating this bug (though I’m not sure at all import scripts set colors…). :person_shrugging:

1 „Gefällt mir“

I think someone else tripped over this recently as well - Access to category after 10 posts (automatic group membership)

I think that was a migration too. I’m not sure if some magic could be added to autocorrect obvious ones as part of the category save?

2 „Gefällt mir“

I have the same issue on another migrated forums from phpBB as old as 2018 as less than a year.

It seems that in migrated forums, only the categories created by the scripts have their color set to #FFF. So I guess there’s an underlying issue to fix that affects any importer.

2 „Gefällt mir“

I think the issue can be fixed by changing this line:

By replacing FFF with FFFFFF.

1 „Gefällt mir“

Darn. I should have waited until October 1st

1 „Gefällt mir“