Github user GERey commented on a diff in the pull request:
https://github.com/apache/usergrid/pull/488#discussion_r55393601
--- Diff:
stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
---
@@ -745,7 +745,32 @@ public RelationManager getRelationManager( EntityRef
entityRef ) {
@Override
public Set<String> getApplicationCollections() throws Exception {
- return getRelationManager( getApplication() ).getCollections();
+ Set<String> existingCollections = getRelationManager(
getApplication() ).getCollections();
+
+ //Handles reading custom collections.
+// Set<String> dynamic_collections = cast( getDictionaryAsSet(
getApplicationRef(), Schema.DICTIONARY_COLLECTIONS ) );
--- End diff --
This was left here as a way to see how custom collections used to be
queried but probably should be deleted and replaced with a jira ticket.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---