ScheduledAnnotationBeanPostProcessor does not support Duration syntax [SPR-15455] #20016
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Misagh Moayyed opened SPR-15455 and commented
The ScheduledAnnotationBeanPostProcessor component is not able to parse and support the duration syntax. (PT20S).
In order to support this, one may have to configure a StringValueResolver on ScheduledAnnotationBeanPostProcessor but there is no clear path to how that might be injected into ScheduledAnnotationBeanPostProcessor. Given how SchedulingConfiguration creates the ScheduledAnnotationBeanPostProcessor bean, it seems like the StringValueResolver instance is always hardcoded.
Received error is:
Affects: 4.3.7
Issue Links:
@DateTimeFormat
support for YearMonth, MonthDay, YearReferenced from: commits 13c7354
The text was updated successfully, but these errors were encountered: