Guten Tag
Ich habe eine Kategorie eins und eine Kategorie zwei (ok, im wirklichen Leben habe ich mehr, aber ich glaube nicht, dass das einen Unterschied macht).
Für Kategorie eins ist genau ein Tag aus der Taggruppe A erforderlich und Tags aus anderen Taggruppen X , Y und Z sind optional.
Für Kategorie zwei ist genau ein Tag aus der Taggruppe B erforderlich und Tags aus den Taggruppen A , X , Y und Z sind optional.
Ich kann ein Thema in Kategorie eins mit einem erforderlichen und zwei optionalen Tags wie erwartet erstellen. Als Nächstes verschiebe ich dieses Thema von Kategorie eins zu Kategorie zwei . Das erwartete Verhalten ist, dass ein Fehler ausgelöst wird, wenn der Benutzer nicht den erforderlichen Tag aus Taggruppe B angibt. Dies geschieht jedoch nicht, und das Thema in Kategorie zwei endet mit einem fehlenden erforderlichen Tag
1 „Gefällt mir“
mattdm
(Matthew Miller)
7. Mai 2023 um 16:06
2
Ja, das sehe ich auch bei Moderatoren, die Themen verschieben.
sam
(Sam Saffron)
8. Mai 2023 um 03:32
3
Wir werden das in den nächsten 4 Wochen erledigen. Ich habe einen internen Tag hinzugefügt, um die Priorisierung zu erleichtern.
1 „Gefällt mir“
Danke @sam
Ich bin neu hier, also entschuldigen Sie bitte, wenn ich unverschämte Fragen stelle. Gilt dies nur für diesen Fehler oder für alle (oder zumindest die meisten) gemeldeten Fehler im Zusammenhang mit dem Tagging? Ich habe zum Beispiel in den letzten 10 Tagen 4 Fehler im Zusammenhang mit Tags gemeldet:
Limiting tags to categories not working as expected
Editing topics with tag groups from parents allows incorrect tagging
Tags from multiple tag groups required only suggest "select at least one tag"
Dieses Thema
Bitte beachten Sie, dass ich nicht versuche, die von mir aufgeworfenen Probleme nach oben zu pushen; es gibt möglicherweise weitaus wichtigere Probleme, die Aufmerksamkeit erfordern. Ich bin nur neugierig, ob das Team versuchen wird, alle / die meisten davon zu beheben, während es dabei ist.
1 „Gefällt mir“
sam
(Sam Saffron)
8. Mai 2023 um 07:14
6
hoffentlich können wir alle erreichen, wir werden Sie auf dem Laufenden halten.
2 „Gefällt mir“
saquetim
(Sérgio Saquetim)
15. Mai 2023 um 20:37
11
@sterretje ,
Dieses Problem und die anderen sollten behoben sein in
main ← fix/misc-tagging-bugs
opened 07:45PM - 10 May 23 UTC
# FIX: Displaying the wrong number of minimum tags in the composer
When the m… inimum number of tags set for the category is larger than the minimum number of tags set in the category tag-groups, the composer was displaying the wrong value.
This commit fixes the value displayed in the composer to show the max value between the required for the category and the tag-groups set for the category.
This bug was reported on Meta in https://meta.discourse.org/t/tags-from-multiple-tag-groups-required-only-suggest-select-at-least-one-tag/263817
# FIX: Limiting tags to categories not working as expected
When a category was restricted to a tag group A, which was set to only allow
one tag from the group per topic, selecting a tag belonging only to A returned
other tags from A that also belonged to other group/s (if any).
Example:
Tag group A: alpha, beta, gamma, epsilon, delta
Tag group B: alpha, beta, gamma
Both tag groups set to only allow one tag from the group per topic.
If Category 1 was set to only allow tags from the tag group A, and the first tag
selected was epsilon, then, because they also belonged to tag group B, the tags
alpha, beta, and gamma were still returned as valid options when they should not be.
This commit ensures that once a tag from a tag group that restricts its tags to
one per topic is selected, no other tag from this group is returned.
This bug was reported on Meta in https://meta.discourse.org/t/limiting-tags-to-categories-not-working-as-expected/263143.
# FIX: Moving topics does not prompt to add required tag for new category
When a topic was moved from a category to another, the tag requirements
of the new category were not being checked.
This allowed a topic to be created and moved to a category:
- that limited the tags to a tag group, with the topic containing tags
not allowed.
- that required n tags from a tag group, with the topic not containing
the required tags.
This bug was reported on Meta in https://meta.discourse.org/t/moving-tagged-topics-does-not-prompt-to-add-required-tag-for-new-category/264138.
# FIX: Editing topics with tag groups from parents allows incorrect tagging
When there was a combination between parent tags defined in a tag group
set to allow only one tag from the group per topic, and other tag groups
relying on this restriction to combine the children tag types with the
parent tag, editing a topic could allow the user to insert an invalid
combination of these tags.
Example:
Automakers tag group: landhover, toyota
- group set to limit one tag from the group per topic
Toyota models group: land-cruiser, hilux, corolla
Landhover models group: evoque, defender, discovery
If a topic was initially setup with the tags toyota, land-cruiser it was
possible to edit it removing the tag toyota and adding the tag landhover
and other landhover model tag like evoque for example.
In this case the topic would end up with the tags toyota, land-cruiser,
landhover, evoque because Discourse will automatically insert the
missing parent tag toyota when it detects the tag land-cruiser.
This combination of tags would violate the restriction specified in
the Automakers tag group resulting in an invalid combination of tags.
This commit enforces that the "one tag from the group per topic"
restriction is verified before updating the topic tags and also
make sure the verification check the compatibility of parent tags that
would be automatically inserted.
After the changes the user will receive an error similar to:
The tags land-cruiser, landhover cannot be used simultaneously.
Please include only one of them.
This bug was reported on Meta in https://meta.discourse.org/t/editing-topics-with-tag-groups-from-parents-allows-incorrect-tagging/263968.
2 „Gefällt mir“
Dieses Problem ist gelöst
Vor dem Verschieben
Verschieben; Tags nicht ändern
Klick auf das Tag-Dropdown
Ich muss die Moderatoren nur noch über den zusätzlichen Schritt zur Überprüfung der Tags informieren; sie werden nicht erfreut sein
4 „Gefällt mir“