Task #5230 (closed)
Bug: Plate wrapper missing child wrapper
| Reported by: | cxallan | Owned by: | cneves |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.3 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | atarkowska, cneves, wmoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-05-19 (12) |
Description (last modified by cxallan)
Traceback (most recent call last):
File "/home/callan/code/ome.git/dist/lib/python/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/callan/code/ome.git/dist/lib/python/omeroweb/webclient/views.py", line 158, in wrapped
return f(request, *args, **kwargs)
File "/home/callan/code/ome.git/dist/lib/python/omeroweb/webclient/views.py", line 672, in load_data
return HttpResponse(t.render(c))
File "/home/callan/code/ome.git/dist/lib/python/django/template/__init__.py", line 178, in render
return self.nodelist.render(context)
File "/home/callan/code/ome.git/dist/lib/python/django/template/__init__.py", line 779, in render
bits.append(self.render_node(node, context))
File "/home/callan/code/ome.git/dist/lib/python/django/template/__init__.py", line 792, in render_node
return node.render(context)
File "/home/callan/code/ome.git/dist/lib/python/django/template/defaulttags.py", line 155, in render
nodelist.append(node.render(context))
File "/home/callan/code/ome.git/dist/lib/python/django/template/defaulttags.py", line 239, in render
value = bool_expr.resolve(context, True)
File "/home/callan/code/ome.git/dist/lib/python/django/template/__init__.py", line 546, in resolve
obj = self.var.resolve(context)
File "/home/callan/code/ome.git/dist/lib/python/django/template/__init__.py", line 687, in resolve
value = self._resolve_lookup(context)
File "/home/callan/code/ome.git/dist/lib/python/django/template/__init__.py", line 722, in _resolve_lookup
current = current()
File "/home/callan/code/ome.git/dist/lib/python/omero/gateway/__init__.py", line 485, in countChildren
childw = self._getChildWrapper()
File "/home/callan/code/ome.git/dist/lib/python/omero/gateway/__init__.py", line 215, in _getChildWrapper
raise NotImplementedError('%s has no child wrapper defined' % self.__class__)
NotImplementedError: <class 'webclient.webclient_gateway.PlateWrapper'> has no child wrapper defined
Change History (7)
comment:1 Changed 8 years ago by cxallan
- Cc atarkowska added
- Component changed from General to Web
- Description modified (diff)
comment:2 Changed 8 years ago by atarkowska
- Owner set to wmoore
comment:2 Changed 8 years ago by atarkowska
comment:3 Changed 8 years ago by atarkowska
- Cc cneves-x added
comment:4 Changed 8 years ago by wmoore
- Owner changed from wmoore to cneves-x
comment:5 Changed 8 years ago by atarkowska
- Cc wmoore added
- Resolution set to fixed
- Status changed from new to closed
comment:6 Changed 8 years ago by Aleksandra Tarkowska <aleksandrat@…>
- Remaining Time set to 0
(In [c6d1d7102093527ead2437e99cf447de234ec2d2/ome.git] on branch develop) this fixes #5230
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
this was caused by countChildren on PlateWrapper?. I can remove this statements from the code, but we should address this issue in the next version.
In theory ScreenWrapper? children are Plates. PlateWrapper? children are Wells but we should handle PlateAcquasition? and WellSample?.
We need to discuss this how that should work and open new tickets in 4.3.1.
Problem should be fixed temporarily.