You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Touch Premium Member
    Join Date
    Jun 2008
    Location
    Germany, Dortmund
    Posts
    249
    Vote Rating
    12
    hschaefer123 will become famous soon enough

      0  

    Default ext-4.2.1.744 ExtDirect form submit issue with form data

    ext-4.2.1.744 ExtDirect form submit issue with form data


    Using a ExtDirect Form submit handler with api

    {"name":"SUBMIT","len":1,"formHandler":false}

    the form fails to include the form data (see [undefined]):

    {"action":"$UNIORG$CL_EDR_MODEL_FORM","method":"SUBMIT","data":[undefined],"type":"rpc","tid":11}

    If i use formHandler:true the framework will do a regular form post with all field data included (but posted as form encoding).

    {"name":"SUBMIT","len":1,"formHandler":true}

    Content-Type:
    multipart/form-data; boundary=----WebKitFormBoundarySyAAtVTuQCwAuOax
    Also 4.2.1.744 behaves a little bit different from 4.2.0!


    We are currently migrating from our Ext 3.4 framework and therefore need the json based direct.submit of form data.

    Cheers Holger


  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,007
    Vote Rating
    459
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


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

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

      0  

    Default


    Obviously formHandler is supposed to handle form submits, isn't it? That's how it works, and it's not a bug.

    Regards,
    Alex.

Thread Participants: 2