Results 1 to 2 of 2

Thread: Form submit filefield error and fire event change always - modern toolkit

    This duplicates another bug already reported in our system: EXTJS-21689
  1. #1
    fabio.policeno's Avatar
    Join Date
    Sep 2010
    Location
    Curitiba - Brazil
    Posts
    367

    Default Form submit filefield error and fire event change always - modern toolkit

    Ext version tested:
    • Ext 6.0.1 rev 250
    Browser versions tested against:
    • Chrome
    Description:
    • When choose file to upload, after of the upload, show errors in form submit. Also after select file and finish upload, click out of the field, so event change is fired again (why? if field not is change)

    Steps to reproduce the problem:
    • Click in file field to choose file to upload, so when form.submit you can see errors in console:
      Code:
      ext-modern-all-debug.js:85398 Uncaught NotFoundError: Failed to execute 'appendChild' on 'Node': ...
      Code:
      Cannot read property 'options' of undefined ...
    The result that was expected:
    • Call upload and show response alert without problem
    The result that occurs instead:
    • Broken app and show errors in console. Also after select file and finish upload, click out of the field, so event change is fired again (why? if field not is change)

  2. #2

    Default

    This is a reported bug. Here is a fiddle that I believe solves the issue for you

    https://fiddle.sencha.com/#fiddle/1jmn


    Since this override is not part of our framework, I do have to include the obligatory legal speak.

    Overrides are not supported and customers are advised to upgrade.

    * Any code delivered as a result of the subject support incident is delivered as is and is not officially supported.
    * Any such code is subject to the standard license agreement between the customer and Sencha.
    * It is the customer’s responsibility to implement and maintain the workaround/override.
    * In addition, the customer will be responsible for removing the workaround or override at the proper time when the appropriate official release is available.
    * * BY USING THIS CODE YOU AGREE THAT IT IS DELIVERED "AS IS", WITH NO WARRANTIES WHATSOEVER, * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT.

    I will close this ticket. If necessary, you can reopen this ticket at any time by replying to this message.

    Thanks for contacting Sencha Support!

    We are in the process of reviewing your ticket and will get back to you soon.

    Thanks!
    $1$

Similar Threads

  1. [MODERN 6.0.1] Unable to submit a filefield
    By Dala Lama in forum Ext JS 6.x Q&A
    Replies: 5
    Last Post: 24 May 2016, 7:04 AM
  2. filefield error in modern
    By dphil in forum Ext JS 6.x Bugs
    Replies: 1
    Last Post: 19 Apr 2016, 10:57 AM
  3. [DUP] Cannot submit form in modern toolkit
    By movys in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 2 Jul 2015, 5:40 PM
  4. What FileField event to use for form.submit()
    By arnoldvillasanta in forum Ext: Q&A
    Replies: 2
    Last Post: 8 Jan 2015, 10:52 PM
  5. filefield not send when form.submit() fire
    By citron in forum Ext: Discussion
    Replies: 6
    Last Post: 16 Jun 2014, 6:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •