DCB: Download not working correctly

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

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Scott Theleman April 6, 2022 at 6:16 PM

Closing as duplicate, main issue fixed in .

Will handle CORS issues separately, they are mostly for a better development experience.

Duplicate

Details

Assignee

Reporter

Labels

Story Points

Sprint

Fix versions

Priority

PagerDuty

Created April 5, 2022 at 9:33 PM
Updated June 7, 2022 at 4:51 PM
Resolved April 6, 2022 at 6:16 PM