A bug is reported where updating a topic’s category and deleting disallowed tags at the same time fails, despite the tags being deleted. To work around this issue, users must delete the tags, refresh the page, and then change the category. erohmensing initially reported the issue and offered a screen recording for further investigation. simon was able to reproduce the issue and provided a screenshot. eviltrout suspects the issue may be related to the tags parameter being treated as a string instead of a list of values. joffreyjaffeux has since fixed the bug, simplified the code, and added specs in a GitHub pull request.
When changing the category of a topic, if the topic has tags that aren’t allowed the new category, it doesn’t let me update the category. This is fine – however if I then try to delete those tags and update the category and tags again at the same time, it says that those tags are still there and doesn’t let me upload.
To get around this, I have to delete the tags, refresh the page, and then change the topic.
I have a screen recording of the issue if you allow me to upload a .mov file.
This is really odd @j.jaffeux - can you investigate? A quick peek at the code indicates that it has an empty? check already for this message so I wonder if the tags parameter might be treated as a string instead of a list of values.