Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
Description
A bug was introduced in this commit (patch 15):
https://github.com/Internet2/grouper/commit/a42bf5de1c84851a59a6c027769d98c43842ff73
Missing sql query in a couple of options:
} else if (Stem.Scope.SUB == scope && ns.isRootStem()) { |
stemsSet = byHqlStatic
|
.options(queryOptions)
|
.setCacheable(false) |
.setCacheRegion(KLASS + ".FindChildStems") |
.setString("stem", Stem.DELIM) |
.listSet(Stem.class); |
} else if (Stem.Scope.SUB == scope) { |
stemsSet = byHqlStatic
|
.options(queryOptions)
|
.setCacheable(false) |
.setCacheRegion(KLASS + ".FindChildStems") |
.setString("scope", ns.getNameDb() + Stem.DELIM + "%") |
.listSet(Stem.class); |
So if you run findAllChildStems with a scope of sub, you'll get an error if you have this patch