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 #6418 (closed)

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

getParentWrapper returns list

Reported by: wmoore Owned by: cneves
Priority: major Milestone: OMERO-Beta4.3.2
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc: python-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

In the spwmerge branch, if I try to move images between datasets in the web, I get

Traceback:
File "/Users/will/Desktop/OMERO/dist/lib/python/django/core/handlers/base.py" in get_response
  92.                 response = callback(request, *callback_args, **callback_kwargs)
File "/Users/will/Desktop/OMERO/dist/lib/python/omeroweb/webclient/views.py" in wrapped
  169.         return f(request, *args, **kwargs)
File "/Users/will/Desktop/OMERO/dist/lib/python/omeroweb/webclient/views.py" in manage_action_containers
  1632.                 rv = manager.move(parent,destination)
File "/Users/will/Desktop/OMERO/dist/lib/python/omeroweb/webclient/controller/container.py" in move
  945.                 for dsl in dsls:
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in getParentLinks
  625.                 "where child.id=:child" % parentw().LINK_CLASS

Exception Type: TypeError at /webclient/action/move/image/15357/
Exception Value: 'list' object is not callable

Change History (3)

comment:1 Changed 13 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

This is closed in:
commit 4f1937334bbd7b2b17f2da9cd9775af14775f904 Fri Aug 5 13:24:34 2011 +0100
Fixing listParentLinks to use _getParentWrappers(). Closes #6418

comment:2 Changed 13 years ago by Chris Allan <callan@…>

  • Remaining Time set to 0

(In [2e1e368aa3d67223545144f470e7761b6c86b001/ome.git] on branch develop) Fixing listParentLinks to use _getParentWrappers(). Closes #6418

comment:3 Changed 13 years ago by Chris Allan <callan@…>

(In [888c2bc6a9bdd12246581bc8a3c48bc08a872bae/ome.git] on branch develop) Handle non-zero indexed wrappers with link classes. (See #6418)

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.69635 sec.)

We're Hiring!