Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-12360 in 4.2.3.
  1. #1
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    102
    Vote Rating
    6
    touchy is on a distinguished road

      0  

    Default Ext Direct (some) form submission broken in 4.2.3 pre-release

    Ext Direct (some) form submission broken in 4.2.3 pre-release


    Happened between 4.2.2 and current 4.2.3 pre-release.

    Form submit (at least one we have with file upload) quietly fails, progress bar keeps spinning.

    Investigation in debugger shows in class Ext.direct.RemotingProvider method configureFormRequest where there is a line

    Code:
    isUpload = String(form.getAttribute("enctype")).toLowerCase() == 'multipart/form-data';
    there happens an

    Code:
    Uncaught TypeError: Object [object Array] has no method 'getAttribute'
    The form variable holds an array, not a form!

    The problem apparently has its origin one call up in the call stack, at the handler function defined in class Ext.direct.RemotingProvider method createHandler in code

    Code:
    handler = function() {
        me.configureFormRequest(action, method, slice.call(arguments, 0));
    which before 4.2.3 pre-release, in 4.2.2 used to read

    Code:
    handler = function(form, callback, scope) {
        me.configureFormRequest(action, method, form, callback, scope);
    The old code apparently correctly passed on the form, while the new code passes as single argument an array containing [form, callback, action, options] instead of passing them as separate arguments. A bug.

    Because I don't know all of the code around there I cannot provide a workaround now.

    I am asking whoever knows / did that code to provide a fix and/or workaround.

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    2,468
    Vote Rating
    52
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      0  

    Default


    Looks like this is related to one of your previous bug reports:
    http://www.sencha.com/forum/showthread.php?279746

    I'll check in with the developer and update soon.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

  3. #3
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    102
    Vote Rating
    6
    touchy is on a distinguished road

      0  

    Default


    I'd say what these have in common is use of Ext Direct and causing changes between 4.2.2 and 4.2.3. Also true for my report in thread 280557.

    I am not convinced (yet) they're any deeper connected, as in being the "same code". Out here don't have access to full version history between 4.2.2 and 4.2.3.

    In case you're wondering, I am using 4.2.3 pre-release because of 280557.

    These hiccups aside, working with Ext Direct is overall a positive experience.

    Looking forward to fix, both curious what it is, and wanting to run our app.

  4. #4
    Sencha - Ext JS Dev Team
    Join Date
    Jun 2011
    Location
    San Diego, CA
    Posts
    174
    Vote Rating
    33
    nohuhu has a spectacular aura about nohuhu has a spectacular aura about

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  5. #5
    Sencha - Ext JS Dev Team
    Join Date
    Jun 2011
    Location
    San Diego, CA
    Posts
    174
    Vote Rating
    33
    nohuhu has a spectacular aura about nohuhu has a spectacular aura about

      1  

    Default


    @touchy

    Sorry about the mishap, looks like I screwed up a bit with the latest fix. Time to add more unit tests so that won't happen in the future...

    The fix should appear in the nightlies shortly; if you're in a hurry our support guys can concoct an override for you.

    Regards,
    Alex.

  6. #6
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    102
    Vote Rating
    6
    touchy is on a distinguished road

      0  

    Default


    I am hereby confirming this appears to be fixed since ext-4.2.3.1347 from 20140218.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar