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

Opened 13 years ago

Closed 12 years ago

Removes uses of IAdmin.addGroupOwners

Reported by: jamoore Owned by:
Priority: minor Milestone: Unscheduled
Component: Web Version: n.a.
Keywords: n.a. Cc: cneves, atarkowska, wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jmoore)

As with any of the newer methods which are not available in dev_4_1_custom, either the calls to these will need to be changed to the form:

if omero_version.less_than(4,2):
    # Some how add group owners
else:
    iAdmin.addGroupOwners

OR we will need to back-port these methods.

(see stack trace below)

Change History (5)

comment:1 Changed 13 years ago by jmoore

Traceback (most recent call last):

  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omeroweb/webadmin/views.py", line 170, in wrapped
    return f(request, *args, **kwargs)

  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omeroweb/webadmin/views.py", line 239, in wrapped
    return f(request, *args, **kwargs)

  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omeroweb/webadmin/views.py", line 653, in manage_group
    controller.createGroup(name, owners, permissions, readonly, description)

  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omeroweb/webadmin/controller/group.py", line 130, in createGroup
    return self.conn.createGroup(new_gr, list(listOfOwners))

  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omeroweb/webclient/webclient_gateway.py", line 1059, in createGroup
    admin_serv.addGroupOwners(new_gr, group_owners)

  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/gateway/__init__.py", line 3499, in __getattr__
    rv = getattr(obj, attr)

AttributeError: 'IAdminPrx' object has no attribute 'addGroupOwners'

comment:2 Changed 13 years ago by jmoore

  • Description modified (diff)
  • Summary changed from Removes uses of IAdmin.addToGroups to Removes uses of IAdmin.addGroupOwners

comment:3 Changed 13 years ago by cxallan

Referencing ticket #4542 has changed sprint.

comment:4 Changed 13 years ago by jmoore

  • Milestone changed from OMERO-Beta4.3 to Unscheduled

Moving to Unscheduled since we are approaching the 4.3 freeze.

comment:5 Changed 12 years ago by jburel

  • Resolution set to wontfix
  • Status changed from new 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.67754 sec.)

We're Hiring!