Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paw Export failed to markdown + curl #157

Open
jtraviss opened this issue Feb 20, 2020 · 1 comment
Open

Paw Export failed to markdown + curl #157

jtraviss opened this issue Feb 20, 2020 · 1 comment

Comments

@jtraviss
Copy link

Paw extension version: 0.1.9

Error message:

JavaScript Exception: TypeError: undefined is not an object (evaluating 'ds.length') ({
    column = 20;
    line = 2277;
})
@winsmith
Copy link

winsmith commented Dec 23, 2021

This seems to be related to Environment Variables. As soon as I introduce a {Host} variable to the URL of one request, the export fails. This also happens to the Preview pane when selecting a single Request. Here are reproduction steps:

  1. Create a new Request called e.g. "Example Request", set it to GET https://example.com/test
  2. Enable Environment Variables and Configure a Host variable to point to example.com
  3. Duplicate the Example Request, call it "Example Request with Variable" and set it to GET https://{Host}/test

Result: The Example Request with Variable can't be exported by the Markdown Curl Exporter, and it will show an empty preview pane

Expected Result: The Example Request with Variable should be exportable without error, and it should show up in the preview pane


luckymarmot/Paw-MarkdownCurlGenerator#6 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants