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

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: Share creation form view exceptions

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

Description (last modified by cxallan)

When viewing the "Share Creation" tab in the right handle panel of the basket the following exceptions are thrown:

2012-04-06 13:17:07,086 ERROR [                omeroweb.webclient.forms] (proc.00514) __init__:73 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/forms.py", line 70, in __init__
    if kwargs['initial']['shareMembers']: pass
KeyError: 'shareMembers'

2012-04-06 13:21:43,589 ERROR [                omeroweb.webclient.forms] (proc.27072) __init__:105 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/forms.py", line 103, in __init__
    self.fields['image'] = GroupModelMultipleChoiceField(queryset=kwargs['initial']['images'], initial=kwargs['initial']['selected'], widget=forms.SelectMultiple(attrs={'size':10}))
KeyError: 'selected'

While there is a try block around this if the exception really is not an error condition it shouldn't be logged at the ERROR level.

Change History (7)

comment:1 Changed 12 years ago by cxallan

  • Description modified (diff)

comment:2 Changed 12 years ago by atarkowska

  • Remaining Time set to 0.3
  • Sprint set to 2012-04-24 (13)

comment:3 Changed 12 years ago by jburel

  • Sprint changed from 2012-04-24 (13) to 2012-05-08 (14)

Moved from sprint 2012-04-24 (13)

comment:4 Changed 12 years ago by jburel

  • Sprint changed from 2012-05-08 (14) to 2012-05-22 (15)

Moved from sprint 2012-05-08 (14)

comment:5 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:6 Changed 12 years ago by atarkowska

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

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

(In [e18ad52b05c56fafb1564d150dbf286c22bafefc/ome.git] on branch develop) removing error log from forms, see #8499 and #8502

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

We're Hiring!