You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to annotate a field of type java.time.Instant with @DnAttribute, I got the following exception in my tests:
org.springframework.ldap.odm.core.impl.InvalidEntryException: Can't get Id field from Entry [...]
Caused by: org.springframework.ldap.odm.core.impl.MetaDataException: private java.time.Instant expiredTimestamp is of type class java.time.Instant, but only String attributes can be declared as @DnAttributes
Note that I do have Converters registered to convert between Instant and String, both ways.
If @DnAttribute is really that much type-intolerant, this must be mentioned in its Javadoc and in the reference documentation.
The text was updated successfully, but these errors were encountered:
While trying to annotate a field of type
java.time.Instant
with@DnAttribute
, I got the following exception in my tests:Note that I do have
Converter
s registered to convert betweenInstant
andString
, both ways.If
@DnAttribute
is really that much type-intolerant, this must be mentioned in its Javadoc and in the reference documentation.The text was updated successfully, but these errors were encountered: