Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-14152

DCB: Download not working correctly

    XMLWordPrintable

Details

    • Story
    • Status: Resolved (View Workflow)
    • Medium
    • Resolution: Duplicate
    • None
    • 30.0.0
    • None
    • Security Level: Default (Default Security Scheme)

    Description

      Device Config download not working correctly.

      • single file download sometimes has 'object [Object]' instead of actual Json text
      • multi file download is not a valid tar.gz file

      Issues:

      • some mismatch between UI and Rest API code/assumptions. Rest API may work when called directly but not when called via UI
      • CORS issues with UI accessing 'Content-Disposition' (which is not a CORS safelisted header) which is causing problems getting the correct 'content-type' and filename
      • May need to send 'Access-Control-Expose-Headers' for 'Content-Disposition' or find another workaround

      Attachments

        Activity

          People

            stheleman Scott Theleman
            stheleman Scott Theleman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: