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 #12664 (new)

Opened 10 years ago

Last modified 8 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
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: ''

![screen shot 2014-11-25 at 12 47 12](https://cloud.githubusercontent.com/assets/2478303/5182980/37afc458-74a1-11e4-99e4-000d7f7dfba3.png)

![screen shot 2014-11-25 at 12 57 44](https://cloud.githubusercontent.com/assets/2478303/5183134/08a4c2d8-74a3-11e4-8503-ecd9360d1518.png)

![screen shot 2014-11-25 at 12 58 05](https://cloud.githubusercontent.com/assets/2478303/5183144/1caaa90a-74a3-11e4-889e-18f471ab2a3e.png)

![screen shot 2014-11-25 at 12 58 11](https://cloud.githubusercontent.com/assets/2478303/5183147/2163894e-74a3-11e4-9d20-49fbe86624fa.png)

Change History (5)

comment:1 Changed 10 years ago by pwalczysko

  • Description modified (diff)

comment:2 Changed 9 years ago by wmoore

  • Milestone changed from 5.1.2 to 5.1.3

comment:3 Changed 9 years ago by jamoore

  • Milestone changed from 5.1.4 to OMERO-5.1.4

Splitting 5.1.4 due to milestone decoupling

comment:4 Changed 9 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 8 years ago by jamoore

  • Milestone changed from 5.x to Unscheduled
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.62685 sec.)

We're Hiring!