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