Bug #11692

CWL Expression Tool Javascript issue when using str.includes

Added by Sarah Zaranek over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
05/12/2017
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

Again, not sure if this is a bug, and/or if it is an issue with the arvados cwl runner or cwl in general.

When I try to use certain str methods sch as str.includes in a cwl script (as part of Expression Tool) it doesn't work and stops running.

I narrowed it down and cut and pasted a simple example from a javascript doc page

var str = "Hello world, welcome to the universe.";
var n = str.includes("world");

History

#1 Updated by Peter Amstutz over 1 year ago

str.include is not part of core Javascript. The standard library is described in the specification:

https://www.ecma-international.org/ecma-262/5.1/

#2 Updated by Tom Morris over 1 year ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF