Skip to content

Commit

Permalink
Fixed NPE in CASE export when params.id is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomilar committed Aug 25, 2019
1 parent 4f53342 commit 2e9dae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/c-adapter/case/caseAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cfGetFramework = function (f) {
f = skyrepoGet.call(this, query);
if (f == null || f["@type"] == null || !f["@type"].contains("ramework"))
f = null;
if (f == null)
if (f == null && this.params.id != null)
f = EcFramework.getBlocking(urlDecode(this.params.id));
if (f == null)
f = EcFramework.getBlocking(query.id);
Expand Down

0 comments on commit 2e9dae4

Please sign in to comment.