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

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

conn must be last agument in view methods

Reported by: wmoore Owned by: atarkowska
Priority: critical Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-03-27 (11)

Description

Traceback:
File "/Users/will/Desktop/OMERO/dist/lib/python/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/decorators.py" in wrapped
  260.             return f(request, *args, **kwargs)

Exception Type: TypeError at /webclient/load_calendar/
Exception Value: load_calendar() got multiple values for keyword argument 'conn'

Change History (5)

comment:1 Changed 12 years ago by atarkowska

  • Remaining Time set to 0.1

comment:2 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:3 Changed 12 years ago by atarkowska

  • Remaining Time changed from 0.1 to 0
  • Status changed from accepted to closed

comment:4 Changed 12 years ago by Aleksandra Tarkowska <A.Tarkowska@…>

  • Resolution set to fixed

(In [70e1c5e1ede434adb0512c0b8fcfdd5159dcdd9c/ome.git] on branch develop) putting conn as last (one of the last) argument(s), close #8370

kwargs shouldn't be mixed with named arguments captured from the url regexp

comment:5 Changed 12 years ago by Aleksandra Tarkowska <A.Tarkowska@…>

(In [13a404259cbf6b61771f0f71a8d22a3800844654/ome.git] on branch develop) putting conn as last (one of the last) argument(s), close #8370

kwargs shouldn't be mixed with named arguments captured from the url regexp

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

We're Hiring!