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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 11.5-rc-1
    • Fix Version/s: 11.5
    • Component/s: Office
    • Labels:
    • Development Priority:
      High
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: