[CDAP-7727] Loading artifact does not fail when incorrect config-json is specified Created: 01/Dec/16  Updated: 26/May/17  Resolved: 26/May/17

Status: Resolved
Project: CDAP
Component/s: App Fabric
Affects Version/s: None
Fix Version/s: 4.2.0

Type: Bug Priority: Critical
Reporter: Sreevatsan Raman Assignee: Albert Shau
Resolution: Fixed Votes: 0
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:


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]" ],

Comment by Albert Shau [ 26/May/17 ]


Generated at Wed Feb 20 13:37:12 UTC 2019 using Jira 7.13.0#713000-sha1:fbf406879436de2f3fb1cfa09c7fa556fb79615a.