Bug #11692

CWL Expression Tool Javascript issue when using str.includes

Added by Sarah Zaranek 4 months ago. Updated 22 days ago.

Status:NewStart date:05/12/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Arvados Future Sprints
Story points-
Velocity based estimate-

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 4 months 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 22 days ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF