diff --git a/.pylintrc b/.pylintrc index 0ad0af5f..c0aaa1bd 100644 --- a/.pylintrc +++ b/.pylintrc @@ -31,4 +31,4 @@ variable-rgx=^[a-z][a-z0-9]*((_[a-z0-9]+)*_?)?$ good-names=_,M,N,B,A,Nn,Bn,An [MESSAGE CONTROL] -disable=W0719,W0122,C0206,C0201,W0718,R0902,C0103 +disable=W0719,W0122,C0206,C0201,W0718,R0902,C0103,E1129 diff --git a/angular_frontend/src/app/callback-helper.service.ts b/angular_frontend/src/app/callback-helper.service.ts index 79d4c822..f5ccf94e 100644 --- a/angular_frontend/src/app/callback-helper.service.ts +++ b/angular_frontend/src/app/callback-helper.service.ts @@ -192,9 +192,11 @@ function replaceContext(policy_string: string) { let match_group = match[1] || match[2] || match[3] let match_type = match[4] || match[5] || match[6] let match_default = match[7] || match[8] || match[9] - + // console.log(match_group) let new_value = contextService.retrieveContextValue(match_group) - if (new_value == null) { + // console.log(new_value) + if (new_value == null || new_value == "") { + // console.log("Is null") if (!match_default == null) { throw new Error("Missing required value for " + match_group); } diff --git a/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/assets/config.json b/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/assets/config.json index 9a5cd95a..b5e6ad70 100644 --- a/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/assets/config.json +++ b/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/assets/config.json @@ -1 +1 @@ -{"serverPort": 8000, "serverUrl": "http://localhost"} \ No newline at end of file +{"serverPort": 8092, "serverUrl": "http://localhost"} \ No newline at end of file diff --git a/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/index.html b/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/index.html index 9b077eb8..a8c9b0a0 100644 --- a/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/index.html +++ b/clinguin/client/presentation/frontends/angular_frontend/clinguin_angular_frontend/index.html @@ -11,5 +11,5 @@