Task #12664 (new)
Opened 5 years ago
Last modified 3 years ago
BUG: Avatar error
Reported by: | pwalczysko | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | Web | Version: | 5.1.0-m1 |
Keywords: | n.a. | Cc: | ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by pwalczysko)
This bug was found during testing of https://github.com/openmicroscopy/openmicroscopy/pull/3187#issuecomment-64394345.
Secvuln3 scenario, section upload avatar
- login as test-will to trout/merge
- select User settings
- press Change button on avatar
- do not upload any image
- click onto Edit image link
- click onto Crop button
- click OK in the dialog
- click again onto Crop button
- click again OK in the dialog
- click again Crop button
- tick the box in the dialog saying prevent....
- click OK in the dialog
- click Crop
- observe error
Traceback: File "/opt/hudson/workspace/OMERO-5.1-merge-deploy/src/dist/lib/python/django/core/handlers/base.py" in get_response 114. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/hudson/workspace/OMERO-5.1-merge-deploy/src/dist/lib/python/omeroweb/decorators.py" in wrapped 440. retval = f(request, *args, **kwargs) File "/opt/hudson/workspace/OMERO-5.1-merge-deploy/src/dist/lib/python/omeroweb/decorators.py" in wrapper 487. context = f(request, *args, **kwargs) File "/opt/hudson/workspace/OMERO-5.1-merge-deploy/src/dist/lib/python/omeroweb/webadmin/views.py" in manage_avatar 823. x1 = long(request.REQUEST.get('x1')) Exception Type: ValueError at /webadmin/change_avatar/2702/crop/ Exception Value: invalid literal for long() with base 10: ''




Change History (5)
comment:1 Changed 5 years ago by pwalczysko
- Description modified (diff)
comment:2 Changed 4 years ago by wmoore
- Milestone changed from 5.1.2 to 5.1.3
comment:3 Changed 4 years ago by jamoore
- Milestone changed from 5.1.4 to OMERO-5.1.4
comment:4 Changed 4 years ago by sbesson
- Milestone changed from OMERO-5.1.4 to 5.x
As discussed with Will earlier today, pushing the non-critical Web tickets out of 5.1.4
comment:5 Changed 3 years ago by jamoore
- Milestone changed from 5.x to Unscheduled
Splitting 5.1.4 due to milestone decoupling