sasjs / adapter

An adapter for bidirectional SAS® <-> Javascript communication
https://adapter.sasjs.io
MIT License
39 stars 3 forks source link

fix: issue with parsing json in sasjs job executor #813

Closed medjedovicm closed 1 year ago

medjedovicm commented 1 year ago

Issue is caught in DataController when filtering.

image

The cause

In this commit these lines have been added to parse the json, if response comes in as string, which happens when debug is on.

https://github.com/sasjs/adapter/commit/2d6efa2437231e5e9a4920ef3a025666d9ef2c32#diff-663fa65ded8381d80ed08a8d0518b473a97b8aec1c135767a988d1579e6cbf85R96-R98

Implementation

Checks

No PR (that involves a non-trivial code change) should be merged, unless all items below are confirmed! If an urgent fix is needed - use a tar file.