Repository: usergrid Updated Branches: refs/heads/collectionDelete 7d3eb647d -> a881d5b55
was missing some built-in collections when returning collection information in /management/orgs/{org}/apps/{app} Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/a881d5b5 Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/a881d5b5 Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/a881d5b5 Branch: refs/heads/collectionDelete Commit: a881d5b55858346b06c5b0a3bc71473731d61da1 Parents: 7d3eb64 Author: Mike Dunker <mdun...@google.com> Authored: Fri Jul 7 09:35:02 2017 -0700 Committer: Mike Dunker <mdun...@google.com> Committed: Fri Jul 7 09:35:02 2017 -0700 ---------------------------------------------------------------------- .../java/org/apache/usergrid/corepersistence/CpEntityManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/a881d5b5/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java ---------------------------------------------------------------------- diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java index ad5220b..a76720d 100644 --- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java +++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java @@ -752,8 +752,8 @@ public class CpEntityManager implements EntityManager { // not the right version, skip it continue; } - existingCollections.add(existingCollection); } + existingCollections.add(existingCollection); } Set<String> system_collections = Schema.getDefaultSchema().getCollectionNames( Application.ENTITY_TYPE );