Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-499

JcrPackageDefinitionImpl:getDate does not fully support ISO8601 format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.10
    • vlt
    • None

    Description

      According to doc http://jackrabbit.apache.org/filevault/properties.html#Entries property "created" supports  ISO8601.
      But it does not support a designator "Z", which is valid according to ISO8601.
      The following strings from "created" property give the following results:
      2021-01-28T06:20:18.805+01:00 => parsed and jcr:created is set
      2021-01-27T16:21:27.034Z => fails parsing and jcr:created is not set

      Root issue is that string is parsed before passing it to ISO8601.parse()
      https://github.com/apache/jackrabbit-filevault/blob/master/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/JcrPackageDefinitionImpl.java#L461-L479

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              inedoviesov Ievgen Nedoviesov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: