Delaying upolad of package causes a django error on submit of an application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Developer registration portal |
Fix Released
|
Medium
|
Michael Nelson |
Bug Description
Bug Description:
If you trigger delay upload from the checkbox and get the the getting paid page leave it empty and click on submit you receive a django error if you are also a reviewer.
Version:
Django 1.1.1
Python 2.6.5 (r265:79063, Apr 16 2010, 14:15:55) [GCC 4.4.3]
preflight 0.1
SCA 11.01.dev3ubunt
openid 2.2.1
OS:
64bit maverick
Browser:
FF 3.6.16
Problem URL:
http://
Steps To Reproduce:
1. Ensure that you have review privileges
2. Create a application and use the upload package later checkbox
3. continue to the end and leave the getting paid details empty click on submit
Expected Result:
I expect the application to complete as expected this erred out
tags: | added: kb-defect sp-1 |
Changed in developer-portal: | |
importance: | Undecided → Medium |
Changed in developer-portal: | |
assignee: | nobody → Michael Nelson (michael.nelson) |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in developer-portal: | |
status: | In Progress → Fix Committed |
Changed in developer-portal: | |
status: | Fix Committed → Fix Released |
Changed in developer-portal: | |
milestone: | none → 11.05 |
Environment:
Request Method: GET 173.212. 255.144/ dev/apps/ 5/?step= done contrib. auth', contrib. contenttypes' , contrib. sessions' , contrib. sites', contrib. markup' , contrib. admin', openid_ auth', configglue' , ragent' , middleware. cache.UpdateCac heMiddleware' , middleware. common. CommonMiddlewar e', contrib. sessions. middleware. SessionMiddlewa re', contrib. auth.middleware .Authentication Middleware' , middleware. cache.FetchFrom CacheMiddleware ', ragent. middleware. exception. LogExceptionMid dleware' , middleware. AllowOnlyBetaTe sters']
Request URL: http://
Django Version: 1.1.1
Python Version: 2.6.5
Installed Applications:
['django.
'django.
'django.
'django.
'django.
'django.
'django_
'django_
'softwarecente
'devportal',
'south',
'preflight']
Installed Middleware:
['django.
'django.
'django.
'django.
'django.
'softwarecente
'devportal.
Traceback: pymodules/ python2. 6/django/ core/handlers/ base.py" in get_response pymodules/ python2. 6/django/ views/decorator s/cache. py" in _wrapped_view_func pymodules/ python2. 6/django/ contrib/ auth/decorators .py" in __call__ func(request, *args, **kwargs) pymodules/ python2. 6/django/ contrib/ auth/decorators .py" in __call__ func(request, *args, **kwargs) python2. 6/dist- packages/ devportal/ views.py" in application_detail action_ for(app, request.user) python2. 6/dist- packages/ devportal/ views.py" in calls_to_action_for package_ upload. url, _("Download package"))], pymodules/ python2. 6/django/ db/models/ fields/ files.py" in _get_url file() pymodules/ python2. 6/django/ db/models/ fields/ files.py" in _require_file
File "/usr/lib/
92. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
44. response = view_func(request, *args, **kwargs)
File "/usr/lib/
78. return self.view_
File "/usr/lib/
78. return self.view_
File "/usr/lib/
203. 'calls_to_action': calls_to_
File "/usr/lib/
126. (application.
File "/usr/lib/
68. self._require_
File "/usr/lib/
46. raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)
Exception Type: ValueError at /dev/apps/5/
Exception Value: The 'package_upload' attribute has no file associated with it.