Closed invenibo closed 11 months ago
This is actually not a bug; it behaves as documented in the manual, which is that Setting::exists() takes a name and checks if there is a direct child setting with that name. It does not search paths the way Config::exists() does.
In certain cases,
Setting::exists()
returnsfalse
even if the path exists.This test (gtest) can be used to reproduce the issue:
Using the latest commit 4f13b7f this results in the following output: