Skip to content

Commit 1840a4e

Browse files
committed
Fixes JSON validator to always return False on unhandled errors
1 parent 21dcf66 commit 1840a4e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

doc/100-General/10-Changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
1111

1212
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/32)
1313

14+
## 1.12.3 (tbd)
15+
16+
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/35)
17+
18+
### Bugfixes
19+
20+
* [#718](https://github.com/Icinga/icinga-powershell-framework/issues/718) Fixes Icinga repository JSON validator to report the correct state of the validation status, in case the JSON is not valid
21+
22+
1423
## 1.12.2 (2024-04-10)
1524

1625
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/34)

lib/core/repository/Test-IcingaJSONObject.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ function Test-IcingaJSONObject()
4747
}
4848
}
4949

50-
return $TRUE;
50+
return $FALSE;
5151
}

0 commit comments

Comments
 (0)