Task #12989 (closed)
Acquisition and Preview Panel missing SHARE_ID in URLs
| Reported by: | atarkowska | Owned by: | wmoore |
|---|---|---|---|
| Priority: | critical | Milestone: | 5.2.0-m1 |
| Component: | Web | Version: | OMERO-5.1.3 |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description (last modified by atarkowska)
URL to load acquisition and preview panel needs to carry SHARE_ID to maintain appropriate connection
url(r'^metadata_preview/(?P<c_type>((?i)image|well))/'
r'(?P<c_id>[0-9]+)/(?:(?P<share_id>[0-9]+)/)?$',
Traceback (most recent call last):
File "/opt/hudson/workspace/OMERO-DEV-breaking-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-DEV-breaking-deploy/src/dist/lib/python/omeroweb/decorators.py", line 474, in wrapped
retval = f(request, *args, **kwargs)
File "/opt/hudson/workspace/OMERO-DEV-breaking-deploy/src/dist/lib/python/omeroweb/decorators.py", line 524, in wrapper
context = f(request, *args, **kwargs)
File "/opt/hudson/workspace/OMERO-DEV-breaking-deploy/src/dist/lib/python/omeroweb/webclient/views.py", line 1718, in load_metadata_preview
manager = BaseContainer(conn, index=index, **{str(c_type): long(c_id)})
File "/opt/hudson/workspace/OMERO-DEV-breaking-deploy/src/dist/lib/python/omeroweb/webclient/controller/container.py", line 103, in __init__
self.assertNotNone(self.image, image, "Image")
File "/opt/hudson/workspace/OMERO-DEV-breaking-deploy/src/dist/lib/python/omeroweb/webclient/controller/container.py", line 145, in assertNotNone
% (obj_name, obj_id))
AttributeError: We are sorry, but that Image (id:1751) does not exist, or if it does, you have no permission to see it.
Change History (4)
comment:1 Changed 4 years ago by atarkowska
- Description modified (diff)
comment:2 Changed 4 years ago by atarkowska
- Description modified (diff)
- Summary changed from Acquasition and Preview Panel missing SHARE_ID in URLs to Acquisition and Preview Panel missing SHARE_ID in URLs
comment:3 Changed 4 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 4 years ago by Will Moore <w.moore@…>
(In [2369d7596ca5922cb64e3d14e7d25a307687ee5b/ome.git] on branch develop) Fix acquistion and preview tabs for shared images. See #12989
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Fixed in https://github.com/will-moore/openmicroscopy/commit/2369d7596ca5922cb64e3d14e7d25a307687ee5b