Task #10294 (closed)
Bug: web hang on setGroupId?
Reported by: | jamoore | Owned by: | wmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4.7 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | web-team@…, ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
On today's howe web client, I:
- logged in as user-6 (default group was system)
- changed to read-annotate-1
- then the client hung (see screenshot)
It never came out of the hang. I tried to reproduce on changing to other groups, and resetting the group back and then moving again, but could not reproduce, so this may not be the core reason. In the OMEROweb.log, there is only one exception ("Group 53 was not found for user 7"). Since I was the first user of the day, this makes me think that this is related, but I'm not sure. (Log attached too)
Attachments (2)
Change History (4)
Changed 12 years ago by jmoore
comment:1 Changed 12 years ago by wmoore
- Resolution set to wontfix
- Status changed from new to closed
The exception is caused by logout, trying to set your default group to the one you're currently looking at (which has somehow got out of sync with your login, since you're not in that group:
def logout(request, conn=None, **kwargs): """ Logout of the session and redirects to the homepage (will redirect to login first) """ if request.session.get('active_group') is not None: try: conn.setDefaultGroup(request.session.get('active_group')) except: logger.error('Exception during logout.', exc_info=True) ...
I'm not sure if this is responsible for the hang (or if it even happened around the same time). If you can think how to reproduce it or it happens again, let me know...
comment:2 Changed 12 years ago by jmoore
- Cc web-team@… added
Will: I don't know any more than I've listed here (though one could likely do something in the DB directly to make it happen). That being said, it's a fairly significant break, and should likely have been at something higher than "minor". If it comes up again, I highly suggest we try to nip it in the bud.
OMEROweb.log file from howe today