Hey,
I just tried 2.18.0 on my project and it dies now with:
freemarker.core._TemplateModelException: An error has occurred when reading existing sub-variable "constraints"; see cause exception! The type of the containing value was: extended_hash+string (com.webcohesion.enunciate.modules.jackson.api.impl.PropertyImpl wrapped into f.e.b.StringModel)
[ERROR]
[ERROR] ----
[ERROR] FTL stack trace ("~" means nesting-related):
[ERROR] - Failed at: #assign metaValue = property[meta]!({... [in template "file:/home/....some-app/resources/enunciate/enunciate.fmt" in macro "printPropertyMetadata" at line 1165, column 3]
[ERROR] - Reached through: @printPropertyMetadata property=prope... [in template "file:/home/....some-app/resources/enunciate/enunciate.fmt" in macro "processDataType" at line 1118, column 77]
[ERROR] - Reached through: @file name=(type.slug + ".html") [in template "file:/home/....some-app/resources/enunciate/enunciate.fmt" in macro "processDataType" at line 1026, column 3]
[ERROR] - Reached through: @processDataType type=type [in template "file:/home/....some-app/resources/enunciate/enunciate.fmt" in macro "processDataSyntax" at line 1005, column 13]
[ERROR] - Reached through: @file name=(syntax.slug + ".html") [in template "file:/home/....some-app/resources/enunciate/enunciate.fmt" in macro "processDataSyntax" at line 983, column 3]
[ERROR] - Reached through: @processDataSyntax syntax=syntax [in template "file:/home/....some-app/resources/enunciate/enunciate.fmt" at line 288, column 9]
[ERROR] - Reached through: @file name=indexPageName [in template "file:/home/....some-app/resources/enunciate/enunciate.fmt" at line 182, column 1]
[ERROR] (Hidden 8 "~" lines for terseness)
[ERROR]
[ERROR] ----: InvocationTargetException: Cannot invoke "jakarta.validation.constraints.Min.value()" because "min" is null
Note: the mentioned enunciate.fmt is bascially the docs.fmt. I customized it a bit on my end, but copied the docs.fmt over to it to be 100% sure it's not my modifications. So running with the original docs.fmt it fails the same way.
Any clue what has changed with @Min(?)?. I came from 2.14.1.
Hey, I just tried 2.18.0 on my project and it dies now with:
Note: the mentioned
enunciate.fmt
is bascially thedocs.fmt
. I customized it a bit on my end, but copied thedocs.fmt
over to it to be 100% sure it's not my modifications. So running with the originaldocs.fmt
it fails the same way. Any clue what has changed with@Min
(?)?. I came from 2.14.1.