• Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • 7.5.0, 7.5.0-alpha5
    • 7.5.0-alpha1
    • cockpit

      Open report
      select Download the results as csv
      --> download not started
      --> download button is disabled afterwards

      same result for json downlaod

      Hint:
      tested with IE11. Chrome and Firefox working as expected

        This is the controller panel for Smart Panels app

            [CAM-5341] Cannot download report in IE

            Valentin added a comment -

            I would have a look at that, not sure I can fix it though.

            Valentin added a comment - I would have a look at that, not sure I can fix it though.

            Valentin added a comment -

            If the REST API was offering the possibility to set the wanted format as a query parameter (instead of using the accept header), we could simply build a link.

            Valentin added a comment - If the REST API was offering the possibility to set the wanted format as a query parameter (instead of using the accept header), we could simply build a link.

            Valentin added a comment -

            Make link to the API endpoint for the JSON button, hide/disable CSV button in IE9(10?).

            Valentin added a comment - Make link to the API endpoint for the JSON button, hide/disable CSV button in IE9(10?).

            Valentin added a comment -

            They are several issues, all of them related to lack of or buggy support of some features in Microsoft products (surprisingly ).

            I added a feature detection ('download' in document.createElement('a')) which is used to hide the download buttons in IE 9 to 11 and Edge 12, that works pretty well.

            http://caniuse.com/#feat=download

            There is still a problem with Edge 13, the feature is detected, but... the download does not work and, although i searched quite a bit, I still have no idea why.

            For the JSON version, I made a link to the API endpoint, solution which works in all browsers.

            Valentin added a comment - They are several issues, all of them related to lack of or buggy support of some features in Microsoft products (surprisingly ). I added a feature detection ( 'download' in document.createElement('a') ) which is used to hide the download buttons in IE 9 to 11 and Edge 12, that works pretty well. http://caniuse.com/#feat=download There is still a problem with Edge 13 , the feature is detected, but... the download does not work and, although i searched quite a bit, I still have no idea why. For the JSON version, I made a link to the API endpoint, solution which works in all browsers.

            Daniel Meyer added a comment -

            Follow up issue created: CAM-6019

            Daniel Meyer added a comment - Follow up issue created: CAM-6019

              michael.schoettes Michael Schoettes
              michael.schoettes Michael Schoettes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: