type
parameter of RequestDataValueProcessor#processFieldValue
shouldn't be null
#280
Labels
type
parameter of RequestDataValueProcessor#processFieldValue
shouldn't be null
#280
SpringValueTagProcessor
could passnull
value astype
parameter ofRequestDataValueProcessor#processFieldValue
althoughtype
is defined as Nonnull parameter(not annotated@Nullable
)in spring-framework.https://github.com/thymeleaf/thymeleaf-spring/blob/3.1-master/thymeleaf-spring5/src/main/java/org/thymeleaf/spring5/processor/SpringValueTagProcessor.java#L103-L106
For example, when
SpringValueTagProcessor
process<option value="aaa">
,type
will benull
(becauseoption
has notype
attribute).In the scenario like above example, i think
IElementTag#getElementCompleteName
should be used astype
value.I'll send small PR to fix this issue later.
thaks.
The text was updated successfully, but these errors were encountered: