Opened 11 years ago

Closed 11 years ago

#1361 closed defect (fixed)

Unhandled item: ANNOTATION

Reported by: base Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.13
Component: web Version:
Keywords: unhandled annotation Cc:

Description

1) create annotation type AT being protocol parameter and allow it for items of type IT
2) add protocol parameter PP of type AT to protocol P
3) create an ITEM of IT type, select protocol P and annotate with protocol parameter PP
4) remove AT and go to trashcan

When I look into items referring to deleted AT, I can see protocol P and Annotation(ID=some_id). Can click P's name and remove AT from its parameters. Then after I click Annotation I get a pop-up saying:

Unhandled item: ANNOTATION Please report this as a bug to the development team

So, I am reporting;)

Change History (3)

comment:1 Changed 11 years ago by Nicklas Nordborg

Milestone: BASE 2.13

Thanks. It seems like annotations need special handling in the trashcan. They don't have the same pattern of pages for viewing/editing as other types of items. The same problem is also in the "Overview" tab. See first comment of #1360 for more information.

comment:2 Changed 11 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned
Summary: Request to report bug: Unhandled item: ANNOTATIONUnhandled item: ANNOTATION

comment:3 Changed 11 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [5075]) Fixes #1361: Unhandled item: ANNOTATION

The only "issue" is that there is no "view" page for annotations. So the "edit" page is used for that as well. The "Save" button will be disabled if the current user doesn't have write permission.

Note: See TracTickets for help on using tickets.