Open skuzzle opened 3 years ago
Error: validate_createTallySheet Time elapsed: 0.137 s <<< ERROR! java.lang.RuntimeException: com.jayway.jsonpath.InvalidPathException: Failed to parse filter: [?(@.['createDateUTC'] =~ /([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])\.\d+/)], error on position: 26, char: / at de.skuzzle.cmp.counter.domain.TallyTest.validate_createTallySheet(TallyTest.java:38) Caused by: com.jayway.jsonpath.InvalidPathException: Failed to parse filter: [?(@.['createDateUTC'] =~ /([0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])\.\d+/)], error on position: 26, char: / at de.skuzzle.cmp.counter.domain.TallyTest.validate_createTallySheet(TallyTest.java:38)
A temporary fix is to override the json-path version. Spring comes with 2.5.0 but 2.6.0 seems to work:
2.5.0
2.6.0
<json-path.version>2.6.0</json-path.version>
Still doesn't work with spring-boot 2.5.4
2.5.4
A temporary fix is to override the json-path version. Spring comes with
2.5.0
but2.6.0
seems to work: