Project

General

Profile

Actions

Bug #11692

closed

CWL Expression Tool Javascript issue when using str.includes

Added by Sarah Zaranek almost 7 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
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");

Actions #1

Updated by Peter Amstutz almost 7 years 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/

Actions #2

Updated by Tom Morris over 6 years ago

  • Target version set to Arvados Future Sprints
Actions #3

Updated by Peter Amstutz almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #4

Updated by Peter Amstutz about 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF