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

Loading artifact does not fail when incorrect config-json is specified

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: App Fabric
    • Labels:
      None
    • Release Notes:
      Fix a bug where extra characters after an artifact version range were being ignored instead of being recognized as invalid.
    • Rank:
      1|hzzpfb:

      Description

      While loading JDBC drivers when the json config is invalid the load artifact command doesn't fail.

      Here is an incorrect json config:

      {
        "parents": [ "system:cdap-etl-batch[3.5.0,3.6.0],system:cdap-data-pipeline[3.5.0,3.6.0]" ],
        "plugins": [
          {
            "name" : "oracle",
            "type" : "jdbc",
            "className" : "oracle.jdbc.OracleDriver",
            "description" : "Plugin for Oracle12c JDBC driver"
          }
        ]
      }
      

      The error is in parents config and the fix is

      "parents": [ "system:cdap-etl-batch[3.5.0,3.6.0]","system:cdap-data-pipeline[3.5.0,3.6.0]" ],

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: