Results 1 to 10 of 10

Thread: Filefield Error: Permission denied to access property "nodeType"

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    39

    Default Filefield Error: Permission denied to access property "nodeType"

    Hi,
    On filefield's upload button click, the following error occurs


    On browse btn click.PNG

    you can reproduce this error with this fiddle https://fiddle.sencha.com/#fiddle/1gag and FireBug,


    is it an Extjs 6 issue ?

    Thanks

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    913

    Default

    I can't reproduce with Chrome and Firefox.

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    39

    Default

    This error occurs with Firefox 48.0.2, with IE and Chrome everything is OK,
    which version of firefox do you have ? ?

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    913

    Default

    FF 47.0.1.

  5. #5
    Sencha Premium Member
    Join Date
    Sep 2015
    Posts
    3

    Default

    I'm having several new issues with file upload using Firefox. I'm using the developer edition Firefox, 50.0a2. With old Firefox 47.0.1 everything was working. With 48.0.2 and 50.0a2 the above mentioned error occurs.

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    I am able to reproduce this using Firefox 48, but the issue is not present in newer versions (6.2.0 or 6.0.3 nightly).

  7. #7

    Default

    I'm able to reproduce that with Firefox 52 and ExtJS 6.0.2 and ExtJS 6.2.1.

    Fiddle: https://fiddle.sencha.com/#view/editor&fiddle/1tfj

  8. #8
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    I'm not able to recreate in Firefox. Are you using 52.0.1 or 52.0.2?

  9. #9
    Sencha User
    Join Date
    Apr 2017
    Location
    Russia, Moscow
    Posts
    2

    Default

    Sencha Cmd v6.2.1.29
    - Framework: Ext JS
    - Version: 6.2.0.981
    Mozilla Firefox 52.0.1
    Linux Debian 8.7 (64 bit)

    I was able to reproduce this bug when I did click on Upload button in filefield:
    Code:
    {
       xtype: 'filefield',
       emptyText: 'Выберите картинку',
       name: 'file',
       accept: 'image',
       allowBlank: false,
       buttonText: '',
       buttonConfig: {
         iconCls: 'x-fa fa-file-picture-o'
       },
       listeners: {
         change: 'imagePreview'
       }
    }
    This is diff-patch that resolves bug in my case:
    Code:
    diff --git a/ext/build/ext-all-debug.js b/ext/build/ext-all-debug.js
    index 7d8ed91..91afd1a 100644
    --- a/ext/build/ext-all-debug.js
    +++ b/ext/build/ext-all-debug.js
    @@ -32802,7 +32802,7 @@ Ext.define('Ext.event.Event', {
             relatedTarget = event.relatedTarget;
             if (relatedTarget) {
                 // When leaving the document, the relatedTarget can be incorrect in Gecko
    -            if (Ext.isGecko && type === 'dragenter' || type === 'dragleave') {
    +            if (Ext.isGecko && (type === 'dragenter' || type === 'dragleave' || type === 'blur' || type === 'focus')) {
                     try {
                         me.relatedTarget = resolveTextNode(relatedTarget);
                     } catch (e) {

  10. #10
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    241

    Default

    The error still there
    FF 52.5.2 ESR
    EXTJS 6.5.3
    PHP Code:
                                        xtype'form',
                                        
    flex1,
                                        
    itemId'formAddIndi',
                                        
    layout'column',
                                        
    bodyPadding10,
                                        
    collapsedfalse,
                                        
    collapsiblefalse,
                                        
    items: [
                                            {
                                                
    xtype'filefield',
                                                
    width898,
                                                
    fieldLabel'Label',
                                                
    hideLabeltrue,
                                                
    name'fileName',
                                                
    allowBlankfalse,
                                                
    allowOnlyWhitespacefalse
                                            

    PHP Code:
    ErrorPermission denied to access property "nodeType" 
    PHP Code:
    ErrorPermission denied to access property "nodeType"[Learn Moreext-all-rtl-debug.js:34720:13
        
    .statics.resolveTextNode http://localhost/inventory/ext/build/ext-all-rtl-debug.js:34720:13
        
    .constructor http://localhost/inventory/ext/build/ext-all-rtl-debug.js:34940:36
        
    constructor http://localhost/inventory/ext/build/ext-all-rtl-debug.js:13981:20
        
    .doDelegatedEvent http://localhost/inventory/ext/build/ext-all-rtl-debug.js:36751:13
        
    .onDelegatedEvent http://localhost/inventory/ext/build/ext-all-rtl-debug.js:36745:13
        
    bound  self-hosted:915:17
        
    .focus http://localhost/inventory/ext/build/ext-all-rtl-debug.js:40700:17
        
    .focus http://localhost/inventory/ext/build/ext-all-rtl-debug.js:58942:17
        
    .focus http://localhost/inventory/ext/build/ext-all-rtl-debug.js:76391:13
        
    .focus http://localhost/inventory/ext/build/ext-all-rtl-debug.js:58936:24
        
    .focus http://localhost/inventory/ext/build/ext-all-rtl-debug.js:76391:13
        
    .onMouseDown http://localhost/inventory/ext/build/ext-all-rtl-debug.js:185536:13
        
    .fire http://localhost/inventory/ext/build/ext-all-rtl-debug.js:21915:35
        
    .fire http://localhost/inventory/ext/build/ext-all-rtl-debug.js:36732:21
        
    .publish http://localhost/inventory/ext/build/ext-all-rtl-debug.js:36692:25
        
    .publishGestures http://localhost/inventory/ext/build/ext-all-rtl-debug.js:37412:13
        
    .onTouchStart http://localhost/inventory/ext/build/ext-all-rtl-debug.js:37540:9
        
    .publishDelegatedDomEvent http://localhost/inventory/ext/build/ext-all-rtl-debug.js:37497:13
        
    .doDelegatedEvent http://localhost/inventory/ext/build/ext-all-rtl-debug.js:36758:13
        
    .onDelegatedEvent http://localhost/inventory/ext/build/ext-all-rtl-debug.js:36745:13
        
    bound  self-hosted:915:17 

Similar Threads

  1. Replies: 11
    Last Post: 4 Sep 2016, 1:12 PM
  2. Replies: 4
    Last Post: 1 Feb 2010, 1:36 PM
  3. Replies: 11
    Last Post: 3 Mar 2009, 6:40 AM
  4. Permission denied to get property HTMLDivElement.nodeType
    By Telrik in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 4 Sep 2008, 7:54 AM

Tags for this Thread

Posting Permissions

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