Opened 7 years ago

Closed 7 years ago

#2078 closed defect (fixed)

It is not possible to modify an annotation type that has the "Project annotations" flag set when there are existing annotations

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.11
Component: web Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

This results in an error message:

Permission denied: Can't set projectAnnotations to FALSE 
since there are 3 existing project-specific annotations.

The is most likely caused by the disabled checkbox which is interpreted as an unchecked checkbox when saving. Since it is not allowed to disable the flag when there are existing annotations an error is thrown.

Change History (2)

comment:1 by Nicklas Nordborg, 7 years ago

Description: modified (diff)

comment:2 by Nicklas Nordborg, 7 years ago

Resolution: fixed
Status: newclosed

(In [7339]) Fixes #2078: It is not possible to modify an annotation type that has the "Project annotations" flag set when there are existing annotations

Fixed by making sure the checkbox is not disabled before submitting the form.

Note: See TracTickets for help on using tickets.