Ticket #878 (closed story: fixed)
Mutability of Annotation.ns
| Reported by: | jmoore | Owned by: | jmoore |
|---|---|---|---|
| Priority: | major | Milestone: | 3.0-Beta3 |
| Component: | Attachments | Version: | 3.0-M1 |
| Keywords: | Cc: | jburel, jason, callan |
Description
The "Annotation.name" field is currently mutable unlike the rest of annotations. This is an easy fix and requires no DB changes, but perhaps this actually a feature.
What this would allow is 'hiding' or 'promoting' annotations/tags by changing the namespace they are in.
hiding
Once a tag has been used by others,
leroysImage.linkAnnotation( leroysTag ); leroysTag.linkAnnotation( joshsDescription );
then it can no longer be deleted. But Leroy could do this:
leroysTag.setName( "http://example.com/deleted" );
promoting
Or alternatively, if leroysTag has become very popular, it could be promoted via:
leroysTag.setName( "http://openmicroscopy.org/tags/2008" );
Change History
Note: See
TracTickets for help on using
tickets.
