openmicroscopy/openmicroscopy — pull request #2044 by manics (2014-01-30 12:50:29+00:00)
Title: Correct typo in spec.xml OriginalfileAnnotationLink (rebased onto develop)

This is the same as gh-2038 but rebased onto develop.

----

See https://trac.openmicroscopy.org.uk/ome/ticket/11944

Testing: Should be able to delete an OriginalFileAnnotationLink using omero.cmd.Delete:
```
us = conn.getUpdateService()

f = omero.model.OriginalFileI()
f.setName(wrap('name'))
f.setPath(wrap('path'))
f = self.sess.getUpdateService().saveAndReturnObject(f)

tag = omero.model.TagAnnotationI()
tag.setTextValue(wrap('text'));
tag = us.saveAndReturnObject(tag);

link = omero.model.OriginalFileAnnotationLinkI()
link.setChild(tag)
link.setParent(f)
link = us.saveAndReturnObject(link)
print link.getId()

linkClassd = '/OriginalFileAnnotationLink'
dcs = [omero.cmd.Delete(linkClassd, unwrap(link.getId()), None)]
doall = omero.cmd.DoAll()
doall.requests = dcs
handle = conn.c.sf.submit(doall, conn.SERVICE_OPTS)
conn._waitOnCmd(handle)
```