[MAGNOLIA-5937] PropertyUtil#createValue does not properly parse iso8601 date strings Created: 01/Oct/14 Updated: 10/Mar/21 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.3.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
For example it cannot process this date string: 2014-10-01T13:11:27.000+02:00 A possible replacement for the entire try block would be DatetypeConverter#parseDateTime. You can reproduce this by: |
| Comments |
| Comment by Tobias Mattsson [ 11/Mar/16 ] |
|
We're using org.apache.jackrabbit.util.ISO8601 from jackrabbit-jcr-commons elsewhere in the code base. It should be used here as well and will fix the issue. |