Azure / Azure/api-management-developer-portal
snapshotMediaFolder is not defined
- Dominant language
- TypeScript
- Stars
- 545
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
## Bug description
Receiving a _snapshotMediaFolder is not defined_ when running the scripts.v2/capture command.
Problem is under the scripts.v2/utils.js file under **downloadBlobsRecursive** usage of _snapshotMediaFolder_ variables, which are not defined. Works if you switch them to _outputFolder_ instead.
## Expected behavior
It was expected that the capture would download the content from our managed portal to the local disk.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the scripts.v2/capture command and inspect scripts.v2/utils.js, especially downloadBlobsRecursive and its uses of snapshotMediaFolder. Compare those references with the outputFolder value mentioned in the report, then run the capture command against a managed portal and confirm that its content downloads to local disk without the undefined-variable error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100