Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14934

Fix richfaces file upload on lastest chrome release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Not A Bug
    • Affects Version/s: 5.6.0-HF38, 5.8.0-HF19, 5.9.5
    • Fix Version/s: 6.0
    • Component/s: File Upload

      Description

      Reproducible against the following chrome version:
      Version 36.0.1985.125.

      Try upload a file on files tab. It uploads it indefinitely with the following javascript error:

      Resource interpreted as Document but transferred with MIME type image/gif: "http://demo.nuxeo.com/nuxeo/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/images/spacer.gif.xhtml".
      Uncaught RangeError: Maximum call stack size exceeded. ui.pack.js.xhtml:3627
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught TypeError: Cannot read property 'appendChild' of null ui.pack.js.xhtml:3633
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.7754138165619224&document_files_edit:upload=document_f…:3
      (anonymous function) view_documents.faces?_richfaces_upload_uid=0.7754138165619224&document_files_edit:upload=document_f…:3
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.7754138165619224&document_files_edit:upload=document_f…:10
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.043440330075100064&document_files_edit:upload=document…:3
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.043440330075100064&document_files_edit:upload=document…:10
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.7488964889198542&document_files_edit:upload=document_f…:3
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.7488964889198542&document_files_edit:upload=document_f…:10
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.40796572947874665&document_files_edit:upload=document_…:3
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.40796572947874665&document_files_edit:upload=document_…:10
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.843329219147563&document_files_edit:upload=document_fi…:3
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.843329219147563&document_files_edit:upload=document_fi…:10
      Uncaught ReferenceError: jQuery is not defined view_documents.faces?_richfaces_upload_uid=0.1504247817210853&document_files_edit:upload=document_f…:3
      Uncaught ReferenceError: jQuery is not defined 
      

        Attachments

          Activity

            People

            • Assignee:
              grenard Guillaume Renard
              Reporter:
              grenard Guillaume Renard
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: