Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-125

[configuration] setting non-string values in DatabaseConfiguration always throws ClassCastException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      30676

      Description

      It would seem that setting any non-string configuration property with a
      DatabaseConfiguration object always throws ClassCastException. I have only
      experienced this issue with Boolean values, but examining the code it would seem
      that the class makes an explicit cast to type String for all set actions. See
      patch for test case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rgladwell Ricardo Gladwell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: