Adding attachments requires two separate full page loads

Bug #381561 reported by Björn Tillenius
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

When clicking the "Add attachment" link, and overlay should pop up with the attachment input fields. The overlay should simply submit the form, thus not use AJAX to do the uploading.

The reason for this is that uploading files using AJAX is hard, and attaching files is not you do very often.

Changed in malone:
milestone: 2.2.6 → 2.2.7
Changed in malone:
milestone: 2.2.7 → 2.2.8
Changed in malone:
assignee: nobody → Björn Tillenius (bjornt)
status: Triaged → In Progress
Deryck Hodge (deryck)
Changed in malone:
milestone: 2.2.8 → 3.0
Changed in malone:
assignee: Björn Tillenius (bjornt) → nobody
status: In Progress → Triaged
Revision history for this message
Deryck Hodge (deryck) wrote :

Without Bjorn doing the work, I don't see this getting in 3.0. We can reconsider who, how, when, etc. for this one after 3.0 is done.

Changed in malone:
milestone: 3.0 → none
Revision history for this message
Robert Collins (lifeless) wrote :

Whats 'hard' about uploading files using AJAX? Is it hard for the users? hard for the system? Hard for us to code... ?

Revision history for this message
Deryck Hodge (deryck) wrote :

"hard" is not the right word. "nonexistent" might be better. In other words, you cannot do file uploads via AJAX. You need either a hidden iframe or flash widget to do the upload. Using a hidden iframe while some ajax-like js widget shows the progress bar is the usual approach to this.

IIRC, yui3 didn't have any support for this at the time Bjorn filed this bug. There is now an io-upload-iframe module that makes this easy to do. http://developer.yahoo.com/yui/3/io/#upload

Cheers,
deryck

Revision history for this message
Robert Collins (lifeless) wrote :

Ok, so I think this can be rephrased as 'users should be able to upload attachments without full page loads' - whatever the machinery behind it actually is ;)

summary: - Adding an attachment should be done using an non-AJAX overlay
+ Adding attachments requires two separate full page loads
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.