Axway-API-Management-Plus / apigw-maven-plugin

Maven plugin for Axway API Gateway/Manager development and deployment.
Apache License 2.0
11 stars 9 forks source link

Error on upgrading to new config file version #34

Closed mlookaxw closed 4 years ago

mlookaxw commented 4 years ago

For configuration files in the old format having fields with "property" attribute set to null, the field will not be upgraded to the newer version.

Example:

"fields": {
  "attributeValue#0": {
    "property": null, 
    "type": "string", 
    "used": true, 
    "value": "artifact"
  }
}

This results in the error message: ERROR: ValueError(u"Missing 'source' property in field 'xxxxxx' of entity 'xxxxxx'",)

mlookaxw commented 4 years ago

Issue fixed with release v0.11.2