Bug #494

number values need to be parsed from string

Added by Robert Haschke over 7 years ago. Updated over 5 years ago.

Status:ResolvedStart date:2017-01-19
Priority:NormalDue date:
Assignee:Jan Moringen% Done:

100%

Category:build-generatorSpent time:-
Target version:-

Description

In a similar fashion as you handle booleans now, you need to parse number values (and possibly other values) from strings when you expect a number.
Defining

"junit.health-scale-factor": "${next-value|1.0}"

causes the following error:

DEPLOYMENT-ERROR:
Error during deployment of #<PROJECT urdf {100DFE38C3}> » #<VERSION urdf:kinetic-devel {100E0F4373}> » #<JOB urdf:kinetic-devel:toolkit {100E115773}> Caused by:
> The value "1.0" cannot be interpreted as a value of type (OR NULL ALEXANDRIA.0.DEV:POSITIVE-REAL).

History

#1 Updated by Robert Haschke over 7 years ago

  • Category set to build-generator
  • Assignee set to Jan Moringen

#2 Updated by Jan Moringen over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

This should work everywhere now. If there are still instances of this, please file a new issue.

Also available in: Atom PDF