After saving term, roles are deselected

Created on 19 March 2021, over 4 years ago
Updated 5 September 2025, about 2 months ago

Problem/Motivation

After I went back to the term all roles were deselected and instead 2 users were added to Allowed user. Below I listed the steps that I did. Does anybody else have the same issue or is there some known issue with some of other modules?

Steps to reproduce

  1. Login as user 1
  2. Enabled Permissions by Term.
  3. Enabled Permissions by Entity
  4. Created new Taxonomy vocabulary
  5. Added two terms on which select 3 roles. No user were added to Allowed users
  6. Created file and selected a term
  7. Added Taxonomy reference field to media
  8. Created 3 new users, each with one of the roles
  9. Went back to media file and couldn't no option was in the taxonomy reference field
  10. Checked on the term vocabulary. All the roles are deselected and instead 2 users are in Allowed users field.
  11. If I try to resave the term with selected roles, after saving the term, the roles are deselected again and instead 2 users are added to Allowed users.
🐛 Bug report
Status

Postponed: needs info

Version

2.31

Component

Code

Created by

🇸🇮Slovenia joco_sp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇦Ukraine vitaliyb98

    Attempted to reproduce the issue by following the steps from the task description, but was unsuccessful. I also debugged the functionality and found that such a problem could theoretically occur if content translation is enabled and multiple versions of a term exist. However, repeating the steps with multilingual support enabled still did not reproduce the issue.

    It appears that this problem does not exist in the current supported (3.x) version of the module. The issue was originally reported for the 2.x version, which is no longer maintained.

    In my view, the only way to continue working on this issue is to request more detailed steps from the users (whether multilingual is enabled, what additional modules are active, how many extra roles are configured or etc).

  • There is a current issue where if you have a multilingual site and you click 'save and go to list' the options are not saved. If this is your issue, clicking 'save' instead will resolve the issue.

Production build 0.71.5 2024