Task #11944 (closed)
Opened 6 years ago
Closed 6 years ago
BUG: typo in /OriginalfileAnnotationLink spec.xml prevents deletion of OriginalFileAnnotationLink
| Reported by: | spli | Owned by: | spli |
|---|---|---|---|
| Priority: | major | Milestone: | 5.0.0 |
| Component: | API | Version: | 5.1.0-m0 |
| Keywords: | n.a. | Cc: | java@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
components/server/resources/ome/services/spec.xml:408:
<bean parent="graphSpec" name="/OriginalfileAnnotationLink"> <constructor-arg> <list> <value>/OriginalfileAnnotationLink</value> </list> </constructor-arg> </bean>
This for example prevents deletion of an OriginalFileAnnotationLink? using omero.cmd.Delete:
linkClassd = '/OriginalFileAnnotationLink'
dcs = [omero.cmd.Delete(linkClassd, 352, None)]
doall = omero.cmd.DoAll()
doall.requests = dcs
handle = conn.c.sf.submit(doall, conn.SERVICE_OPTS)
conn._waitOnCmd(handle)
Exception: object #0 (::omero::cmd::ERR)
{
category = ::omero::cmd::Delete
name = no-steps
parameters =
{
}
}
linkClassd = '/OriginalfileAnnotationLink'
dcs = [omero.cmd.Delete(linkClassd, 352, None)]
doall = omero.cmd.DoAll()
doall.requests = dcs
handle = conn.c.sf.submit(doall, conn.SERVICE_OPTS)
conn._waitOnCmd(handle)
Exception: object #0 (::omero::cmd::ERR){
category = ::omero::cmd::DoAll
name = bad-init
parameters =
{
...
value = OriginalfileAnnotationLink is not mapped [select distinct ROOT0.id as ROOT0 from OriginalfileAnnotationLink as ROOT0 where ROOT0.id = ? ]
}}
Change History (2)
comment:1 Changed 6 years ago by spli
- Milestone changed from Unscheduled to 5.0.0
- Owner set to spli
- Status changed from new to accepted
comment:2 Changed 6 years ago by spli
- Resolution set to fixed
- Status changed from accepted to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
https://github.com/openmicroscopy/openmicroscopy/pull/2038