Task #8506 (closed)
Bug: Error when adding comment to Share or Discussion
Reported by: | cxallan | Owned by: | atarkowska |
---|---|---|---|
Priority: | blocker | 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-04-24 (13) |
Description (last modified by cxallan)
When adding a comment to a "Discussion" (a Share which contains no Images) or a Share the action fails and the following exception is thrown:
2012-04-06 13:42:05,657 ERROR [ omeroweb.feedback.views] (proc.00514) handler500:140 handler500: Server error 2012-04-06 13:42:05,657 ERROR [ omeroweb.feedback.views] (proc.00514) handler500:142 Traceback (most recent call last): File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/decorators.py", line 262, in wrapped return f(request, *args, **kwargs) File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/views.py", line 1552, in manage_action_containers textAnn = manager.addComment(host, request.session['server'], comment) File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/controller/share.py", line 120, in addComment return self.conn.addComment(host, int(blitz_id), self.share.id, comment) TypeError: int() argument must be a string or a number, not 'NoneType'
Change History (6)
comment:1 Changed 12 years ago by cxallan
- Description modified (diff)
- Summary changed from Bug: Error when adding comment to Discussion to Bug: Error when adding comment to Share or Discussion
comment:2 Changed 12 years ago by atarkowska
- Remaining Time set to 0.5
- Sprint set to 2012-04-24 (13)
- Status changed from new to accepted
comment:3 Changed 12 years ago by atarkowska
- Remaining Time changed from 0.5 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 [1b94510fb1ac744ddf44a194646759f29f8d957a/ome.git] on branch develop) fixing share comments, see #8506
comment:6 Changed 12 years ago by Aleksandra Tarkowska <A.Tarkowska@…>
(In [9c53989c9be8f703be18a4d82ae8c297f7af77c3/ome.git] on branch develop) fixing comment added to discussion, see #8506
(In [32524148c8250e6b9a2a1f04c16a3b8242d7b94e/ome.git] on branch develop) refactoring share comments management, close #8506