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

Opened 13 years ago

Closed 13 years ago

Bug: Editing name of plate acquisition causes exception

Reported by: cxallan Owned by: atarkowska
Priority: blocker Milestone: OMERO-Beta4.3.2
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: 2011-09-15 (5)

Description

When editing the name of a Plate Acquisition an exception is thrown:

File "/Users/callan/code/ome.git/dist/lib/python/django/core/handlers/base.py" in get_response
  92.                 response = callback(request, *callback_args, **callback_kwargs)
File "/Users/callan/code/ome.git/components/tools/OmeroWeb/omeroweb/webclient/views.py" in wrapped
  169.         return f(request, *args, **kwargs)
File "/Users/callan/code/ome.git/components/tools/OmeroWeb/omeroweb/webclient/views.py" in manage_action_containers
  1577.             form = ContainerNameForm(initial={'name': (o_type != "tag" and obj.name or obj.textValue)})
File "/Users/callan/code/ome.git/dist/lib/python/omero/gateway/__init__.py" in __getattr__
  987.         raise AttributeError("'%s' object has no attribute '%s'" % (self._obj.__class__.__name__, attr))

Exception Type: AttributeError at /webclient/action/editname/acquisition/152/
Exception Value: 'PlateAcquisitionI' object has no attribute 'textValue'

In this case the Plate Acquisition has no existing name and its name shows up as None in the right hand panel.

Change History (3)

comment:1 Changed 13 years ago by atarkowska

  • Status changed from new to accepted

comment:2 Changed 13 years ago by atarkowska

  • Remaining Time set to 0.3

comment:3 Changed 13 years ago by Aleksandra Tarkowska <atarkowska@…>

  • Remaining Time changed from 0.3 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [8ebab7c84618a6112ee7855a6dc388b634dbd976/ome.git] on branch develop) this fixes editing name exception, close #6681

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

We're Hiring!