• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Obscure bug involving AjaxFlexibleFileUpload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obscure bug involving AjaxFlexibleFileUpload


  • Subject: Re: Obscure bug involving AjaxFlexibleFileUpload
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 25 Jun 2014 01:09:30 +0000
  • Thread-topic: Obscure bug involving AjaxFlexibleFileUpload

On 2014-06-24, 5:59 PM, "Paul Hoadley" wrote:

On 23/06/2014, at 3:43 PM, Paul Hoadley <email@hidden> wrote:

I've been using AjaxFlexibleFileUpload in a project for a few months now, but I've been getting reports of occasional failures.  The symptoms are very specific:

1.  User clicks "Select File..." and selects a file.
2.  User clicks "Upload", and nothing happens.

That is, the expected behaviour at 2 is, obviously, a progress meter appears, and the file is uploaded.  What actually happens is the the "Upload" link disappears, but nothing else happens.  The "clear" icon remains, and is the only work-around for the issue: the user can clear the selected file and try again, at which point the upload succeeds.

There are some features that make me think this is going to be terrible to track down.

I never did get to the bottom of the issue, but there's a workaround which is mostly satisfactory.  Given that the user can only select a single file, the "Upload" button is essentially superfluous.  So it turns out that setting $autoSubmit="$true" side-steps the issue by removing step 2 from the list above.  I've convinced myself that this is a marginally better user experience anyway, so I don't have to dive into the bowels of the page and its myriad resources to find the actual root cause.

I’ve solved several Ajax problems in a similar manner.  It really does make you wish for a more stable UI platform.

Chuck

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Obscure bug involving AjaxFlexibleFileUpload (From: Paul Hoadley <email@hidden>)
 >Re: Obscure bug involving AjaxFlexibleFileUpload (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: basic use of migrations with MySQL...
  • Next by Date: ERXKey not added to model class files
  • Previous by thread: Re: Obscure bug involving AjaxFlexibleFileUpload
  • Next by thread: Can't see the tabs in D2W app
  • Index(es):
    • Date
    • Thread