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

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

BUG: Selecting and dragging multiple images from multiple datasets in web causes an exception

Reported by: spli Owned by: wmoore
Priority: minor Milestone: OMERO-5.2.0
Component: Web Version: 5.0.2
Keywords: n.a. Cc: ux@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Select multiple images from two datasets simultaneously from the OMERO.web tree-view. Drag the images into a third dataset. This causes an exception.

Traceback (most recent call last):

  File "/opt/hudson/workspace/OMERO-5.0-merge-deploy/src/dist/lib/python/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/opt/hudson/workspace/OMERO-5.0-merge-deploy/src/dist/lib/python/omeroweb/decorators.py", line 387, in wrapped
    retval = f(request, *args, **kwargs)

  File "/opt/hudson/workspace/OMERO-5.0-merge-deploy/src/dist/lib/python/omeroweb/decorators.py", line 434, in wrapper
    context = f(request, *args, **kwargs)

  File "/opt/hudson/workspace/OMERO-5.0-merge-deploy/src/dist/lib/python/omeroweb/webclient/views.py", line 1639, in manage_action_containers
    rv = manager.move(parent,destination)

  File "/opt/hudson/workspace/OMERO-5.0-merge-deploy/src/dist/lib/python/omeroweb/webclient/controller/container.py", line 978, in move
    up_dsl.setParent(new_ds._obj)

AttributeError: 'NoneType' object has no attribute 'setParent'


<WSGIRequest
path:/merge/webclient/action/move/image/50258/,
GET:<QueryDict: {}>,
POST:<QueryDict: {u'destination': [u'dataset-4712'], u'parent': [u'dataset-4709']}>,
COOKIES:{'phpbb3_a9mfv_k': '45009d2e421cba3f',
 'phpbb3_a9mfv_sid': '556228295c87b33b12fc38c5abe0557e',
 'phpbb3_a9mfv_u': '2883',
 'sessionid': 'bs7y2o0vhm0dq0ywiucnrz8trycpehyc',
 'style_cookie': 'null'},
META:{'CONTENT_LENGTH': '44',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
 'HTTPS': '',
 'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',
 'HTTP_CACHE_CONTROL': 'no-cache',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_CONTENT_LENGTH': '44',
 'HTTP_CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
 'HTTP_COOKIE': 'phpbb3_a9mfv_k=45009d2e421cba3f; style_cookie=null; phpbb3_a9mfv_u=2883; phpbb3_a9mfv_sid=556228295c87b33b12fc38c5abe0557e; sessionid=bs7y2o0vhm0dq0ywiucnrz8trycpehyc',
 'HTTP_DNT': '1',
 'HTTP_HOST': 'octopus.openmicroscopy.org',
 'HTTP_PRAGMA': 'no-cache',
 'HTTP_REFERER': 'http://octopus.openmicroscopy.org/merge/webclient/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH_INFO': u'/webclient/action/move/image/50258/',
 'QUERY_STRING': '',
 'REQUEST_METHOD': 'POST',
 'SCRIPT_INFO': '/merge',
 'SCRIPT_NAME': u'/merge',
 'SERVER_NAME': 'ome-c6100-1',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x4c67b50>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x42e9650>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (4)

comment:1 Changed 9 years ago by jburel

  • Cc ux@… added; web-team@… removed
  • Milestone changed from 5.1.4 to 5.2.0
  • Owner changed from drussell-x to wmoore

Assigning to Will and modifying the cc so this can be tested/reviewed as part of the jstree work

comment:3 Changed 9 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

This seems to work fine in the new jstree branch.

comment:4 Changed 9 years ago by jamoore

  • Milestone changed from 5.2.0 to OMERO-5.2.0

Splitting due to milestone decoupling.

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

We're Hiring!