Bug #13545

Basis drop-down in Rights management form is broken

Added by Jesús García Crespo 2 months ago. Updated about 1 month ago.

Status:QA/ReviewStart date:07/23/2021
Priority:MediumDue date:
Assignee:-% Done:


Target version:Release 2.7.0
Google Code Legacy ID: Tested version:2.6
Sponsored:No Requires documentation:No



The rights management form displays some fields selectively based on the current basis value. This is not currently working and instead all form fields are displayed. The browser console is showing some errors when the page first renders and when the user interacts with the drop-down.

To reproduce

  1. Create a new description.
  2. Create new rights.
  3. Choose an option from the basis dropdown (Rights basis area)

Errors encountered

All form fields are displayed instead of hiding those that are not relevant to the chosen basis. This line is raising a TypeError: Cannot read property 'match' of undefined.

It's a breaking change in the jQuery API that we've been experiencing since the upgrade to jQuery 3. Related: https://jquery.com/upgrade-guide/1.9/#attr-versus-prop-.

Expected outcome

Form fields should be displayed or hidden based on the value chosen in the basis dropdown.


#1 Updated by Dan Gillean about 1 month ago

  • Assignee set to Jesús García Crespo
  • Target version set to Release 2.7.0

#2 Updated by Jesús García Crespo about 1 month ago

  • Status changed from New to QA/Review
  • Assignee deleted (Jesús García Crespo)

Also available in: Atom PDF