Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-20924

ISO8601Converter throws ClassCastException

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Unprioritized
    • Resolution: Unresolved
    • Affects Version/s: 4.2.e Community
    • Fix Version/s: Triage
    • Component/s: REST API, Workflow
    • Security Level: external (External user)
    • Labels:
      None
    • Security Severity:
      None
    • Triage:
      To Do

      Description

      WorkflowRestImpl registers ISO8601Converter in commons-beanutils (it is a system-wide library)

      By contract, Converter.convert() can be called with ANY value for ANY conversion, including Date -> Date, but ISO8601Converter cast value to String without any check, so other libraries fails when using beanutils

      It will be far better to use DateTimeConverter provided by beanutils, than install such ugly class

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            gmelahn Greg Melahn
            Reporter:
            valery.antonov Valery Antonov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: