Old variable parser used for entire function when variable is not defined

Description

When evaluating a formula such as max(AnimalSize,var("RACESIZE")), if the variable AnimalSize is not defined then the old broken parser is used and the jep function var("RACESIZE") is incorrectly evaluated as VAR0.0

Environment

None

Activity

Show:
Tom Parker
June 1, 2014, 8:19 AM

Isn't this moot now?

Tom Parker
June 30, 2014, 9:13 AM

I believe the old parser was removed?

James Dempsey
July 5, 2014, 3:53 PM

Unfortunately this is still an issue. Many of the old parser's functions were removed but the fallback from JEP to the old parser is still in place.

You can test it out with a new Pathfinder character (core rules only) using the Expression Calculator dialog:

Tom Parker
February 27, 2016, 12:48 AM
Cancelled

Assignee

Unassigned

Reporter

James Dempsey

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Affects versions

Priority

Minor
Configure