Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16499

Cannot upload office files using the attachment picker in Office Document Viewer Macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 11.5
    • 11.5-rc-1
    • Office
    • High
    • Unknown
    • N/A
    • N/A

    Description

      Try using the Attachment Picker for the Office Document Viewer macro. There is a JS error that prevent this both in Chrome 75 and Firefox 68.

      Uncaught TypeError: Cannot read property 'hasOwnProperty' of null
          at e (eval at globalEval (jquery.js:343), <anonymous>:1:2224)
          at Object.b [as getIcon] (eval at globalEval (jquery.js:343), <anonymous>:1:1930)
          at s (eval at globalEval (jquery.js:343), <anonymous>:1:5387)
          at f (jquery.js:497)
          at Array.map (<anonymous>)
          at Array.collect (prototype.js?cache-version=1560877088000:8)
          at q (eval at globalEval (jquery.js:343), <anonymous>:1:5205)
          at Object.a (eval at globalEval (jquery.js:343), <anonymous>:1:7094)
          at Object.f (jquery.js:497)
          at Object.<anonymous> (jquery.js:3366)
      

      Attachments

        1. bug.png
          555 kB
          Ecaterina Moraru (Valica)

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: