2 delete boxes appear for images if the form is cleared

Bug #944008 reported by Dave Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Developer registration portal
Confirmed
Low
Unassigned

Bug Description

Bug Description:
Currently if you add an incorrect video link then the form is cleared but you see 2 delete boxes for the screenshot like the screenshots have been saved even though it is actually empty.

Version:
Django 1.3
Python 2.6.5 (r265:79063, Apr 16 2010, 14:15:55) [GCC 4.4.3]
preflight 0.1.1
SCA 12.02.3; r582
openid 2.2.1
pkgme-service https://pkgme-service.canonical.com/pkgme/api/1.0 {'version': 'r67'}

OS:
64bit Oneiric

Browser:
FF 10.0.1

Problem URL:
https://developer.staging.ubuntu.com/dev/apps/589/update/?step=displaying

Steps To Reproduce:
1. Create an app
2. On the displaying you app page
3. Fill in the icons
4. the screenshots
5. add an incorrect video link
6. Submit the page

Expected Result:
The page should be either completely reset or contain all the info that was added, currently it looks like some is saved and others aren't.

Dave Morley (davmor2)
Changed in developer-portal:
importance: Undecided → Medium
Revision history for this message
Anthony Lenton (elachuni) wrote :

Same thing happens when attempting to delete the banner image on an exhibit, if the exhibit only has a single banner image. This is using the same django widget, so it's most likely related.

Changed in developer-portal:
status: New → Confirmed
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.