An attempt to clear a icon fails to clear the icon
Bug #881091 reported by
John Pugh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Developer registration portal |
Fix Released
|
Medium
|
Danny Tamez |
Bug Description
When submitting an application, I added a 32px icon inadvertently. When attempting to remove the 32px icon, I check the clear box and submit the changes. The icon remains.
Expected behavior: Check the "clear" checkbox, save, icon is removed.
tags: | added: kb-defect sp-1 |
Changed in developer-portal: | |
status: | Confirmed → In Progress |
assignee: | nobody → Danny Tamez (zematynnad) |
Changed in developer-portal: | |
status: | In Progress → Fix Committed |
Changed in developer-portal: | |
milestone: | none → 11.12 |
Changed in developer-portal: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Attempting to remove via the admin also fails, with the following traceback in an oops:
Traceback: ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ core/handlers/ base.py" in get_response ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ contrib/ admin/options. py" in wrapper site.admin_ view(view) (*args, **kwargs) ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ utils/decorator s.py" in _wrapped_view ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ views/decorator s/cache. py" in _wrapped_view_func ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ contrib/ admin/sites. py" in inner ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ utils/decorator s.py" in _wrapper ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ utils/decorator s.py" in _wrapped_view ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ utils/decorator s.py" in bound_func ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ db/transaction. py" in inner ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ contrib/ admin/options. py" in change_view ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ forms/forms. py" in is_valid ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ forms/forms. py" in _get_errors ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ forms/forms. py" in full_clean fields( ) ubuntu. com/production/ software- center- agent/sourcecod e/django/ django/ forms/forms. py" in _clean_fields ubuntu. com/production/ software- center- agent/src/ softwarecentera gent/forms. py" in clean_icon_32 icon(32) ubuntu. com/production/ software- center- agent/src/ softwarecentera gent/forms. py" in _clean_icon endswith( '.svg') :
File "/srv/sc.
111. response = callback(request, *callback_args, **callback_kwargs)
File "/srv/sc.
307. return self.admin_
File "/srv/sc.
93. response = view_func(request, *args, **kwargs)
File "/srv/sc.
79. response = view_func(request, *args, **kwargs)
File "/srv/sc.
197. return view(request, *args, **kwargs)
File "/srv/sc.
28. return bound_func(*args, **kwargs)
File "/srv/sc.
93. response = view_func(request, *args, **kwargs)
File "/srv/sc.
24. return func(self, *args2, **kwargs2)
File "/srv/sc.
217. res = func(*args, **kwargs)
File "/srv/sc.
962. if form.is_valid():
File "/srv/sc.
121. return self.is_bound and not bool(self.errors)
File "/srv/sc.
112. self.full_clean()
File "/srv/sc.
267. self._clean_
File "/srv/sc.
287. value = getattr(self, 'clean_%s' % name)()
File "/srv/sc.
101. return self._clean_
File "/srv/sc.
70. if data.name.
Exception Type: AttributeError at /admin/ softwarecentera gent/applicatio n/320/
Exception Value: 'bool' object has no attribute 'name'