Merge lp:~michael.nelson/ubuntu-webcatalog/fix-import-crash into lp:ubuntu-webcatalog
Proposed by
Michael Nelson
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Łukasz Czyżykowski | ||||
Approved revision: | 111 | ||||
Merged at revision: | 109 | ||||
Proposed branch: | lp:~michael.nelson/ubuntu-webcatalog/fix-import-crash | ||||
Merge into: | lp:ubuntu-webcatalog | ||||
Diff against target: |
60 lines (+9/-6) 3 files modified
src/webcatalog/forms.py (+6/-3) src/webcatalog/management/commands/import_app_install_data.py (+0/-2) src/webcatalog/tests/test_forms.py (+3/-1) |
||||
To merge this branch: | bzr merge lp:~michael.nelson/ubuntu-webcatalog/fix-import-crash | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical Consumer Applications Hackers | Pending | ||
Review via email: mp+102795@code.launchpad.net |
Commit message
Don't save an application without a distroseries during import.
Description of the change
When the initial error appeared:
https:/
the fix was to ensure the app was saved so that when the ApplicationForm
This branch updates the ApplicationForm so that it includes the distroseries in its cleaned data, then during save, it saves the app *with* the distroseries before trying to add any related screenshots (and removes the option of commit=False)
`fab test`
I'll test this on the vps once it's landed.
To post a comment you must log in.