Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-6524

Plugins Don't Support char Property Type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 3.5.0
    • Component/s: CDAP
    • Labels:
      None
    • Release Notes:
      Plugins now support the "char" primitive as a property type.
    • Rank:
      1|hzzgbr:

      Description

      Currently, PluginInstantiator uses reflections to set fields of plugin's PluginConfig class and should support all primitive types. The property's type is resolved and then valueOf is called to convert the passed String property to the correct type. However, Character.valueOf does not accept a String as a parameter, so any properties of type char would throw an exception.

        Attachments

          Activity

            People

            • Assignee:
              kashif Kashif Nazir
              Reporter:
              kashif Kashif Nazir
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: