Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11944 (closed)

Opened 10 years ago

Closed 10 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 10 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 10 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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.75801 sec.)

We're Hiring!