Skip to content

Commit b09cc1f

Browse files
committed
ID-52: fix error in case of non existing config file
1 parent e120c97 commit b09cc1f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
== Version 1.1.0
44
[cols="1,2,<10a", options="header"]
55
|===
6+
|ID|Type|Description
7+
|https://github.com/Axway-API-Management-Plus/apigw-maven-plugin/issues/52[#52]
8+
|Bug
9+
|In case the entity field configuration file doesn't exist the following error occurs:
10+
11+
`AttributeError: EnvConfig instance has no attribute '_EnvConfig__origin_json_str'`
12+
13+
This is fixed. If the configuration file doesn't exists the file will be created automatically.
14+
615
|ID|Type|Description
716
|https://github.com/Axway-API-Management-Plus/apigw-maven-plugin/issues/51[#51]
817
|Enhancement

src/main/resources/scripts/lib/envconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class EnvConfig:
6161
__file_updated = False
6262
__migrated = False
6363

64-
__origin_json_str_str = None
64+
__origin_json_str = None
6565

6666
__unconfigured_fields = []
6767

0 commit comments

Comments
 (0)