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

Opened 11 years ago

Closed 10 years ago

BUG: Create from Orphaned in Web

Reported by: pwalczysko Owned by: atarkowska
Priority: major Milestone: 5.0.0-rc1
Component: Web Version: 5.0.0-beta1
Keywords: n.a. Cc: ux@…,, jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: OMERO 5 Beta 2 (1)

Description

Checking the new workflow in Web, when creating new Dataset when Orphaned images are selected. Tried to move the orphaned images into the newly created Dataset. Got a stacktrace.
Workflow

  • login to Howe or Gretzky (the same behaviour on both)
  • make sure there are some images in the Orphaned folder
  • select 2 images from the Orphaned folder
  • right-click and go Create New >Dataset
  • A new dataset will be created
  • "not knowing" that the images should be in the newly created dataset, and having no way to find this out unless I know in advance, I am trying now to move the just selected images into the newly created dataset (the images are not in the newly created dataset unless I have pressed Refresh - again, no way for me to know this in advance)
  • got a stacktrace (see below)
Traceback (most recent call last):

  File "/home/hudson/hudson/workspace/OMERO-merge-stable/src/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

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

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

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

  File "/home/hudson/hudson/workspace/OMERO-merge-stable/src/dist/lib/python/omeroweb/webclient/controller/container.py", line 946, in move
    self.conn.deleteObjectDirect(up_dsl._obj)

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


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'destination': [u'dataset-957'], u'parent': [u'orphaned-0']}>,
COOKIES:{'sessionid': '3c4e7c7951c5c8068d243c3f4418e07c'},
META:{'CONTENT_LENGTH': '41',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
 'DOCUMENT_ROOT': '/var/www',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=3c4e7c7951c5c8068d243c3f4418e07c',
 'HTTP_HOST': 'howe.openmicroscopy.org.uk',
 'HTTP_ORIGIN': 'http://howe.openmicroscopy.org.uk',
 'HTTP_REFERER': 'http://howe.openmicroscopy.org.uk/webclient/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/webclient/action/move/image/6849/',
 'PATH_TRANSLATED': '/var/www/omero.fcgi/webclient/action/move/image/6849/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.12.1.115',
 'REMOTE_PORT': '57068',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/webclient/action/move/image/6849/',
 'SCRIPT_FILENAME': '/var/www/omero.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '134.36.65.228',
 'SERVER_ADMIN': 'webmaster@localhost',
 'SERVER_NAME': 'howe.openmicroscopy.org.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at howe.openmicroscopy.org.uk Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x41c6090>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x41c69d0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (5)

comment:1 Changed 10 years ago by jburel

  • Owner changed from web-team@… to atarkowska

comment:2 Changed 10 years ago by atarkowska

  • Priority changed from major to blocker

comment:3 Changed 10 years ago by wmoore

Images should now be removed from orphaned when they are put in a new Dataset https://github.com/openmicroscopy/openmicroscopy/pull/1757

comment:4 Changed 10 years ago by atarkowska

  • Priority changed from blocker to major

comment:5 Changed 10 years ago by atarkowska

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

Issue resolved

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

We're Hiring!