Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryException: CollaborationGroupRecord requires a filter #13

Open
RajeshKandisa opened this issue May 8, 2015 · 10 comments
Open

QueryException: CollaborationGroupRecord requires a filter #13

RajeshKandisa opened this issue May 8, 2015 · 10 comments
Labels

Comments

@RajeshKandisa
Copy link

I just installed this in our sandbox and tried to serialize an Account record. I received the following error:
"System.QueryException: Implementation restriction: CollaborationGroupRecord requires a filter by a single Id, CollaborationGroupId or RecordId using the equals operator" at line 506.

Any suggestions? I am also looking at the same.

@afawcett
Copy link
Owner

@Sonal4J I believe there is a fix for this?

@Sonal4J
Copy link
Contributor

Sonal4J commented May 18, 2015

@afawcett Yes. In my last commit I have fixed this issue.

@RajeshKandisa
Copy link
Author

I last commit I see is for Oct 6, 2014. And I installed this last week. @Sonal4J Did you do a new commit? Can you please point out as how do I resolve this issue?

Thank you for your help.

@Sonal4J
Copy link
Contributor

Sonal4J commented May 18, 2015

@RajeshKandisa https://github.com/afawcett/apex-sobjectdataloader/blob/master/apex-sobjectdataloader/src/classes/SObjectDataLoader.cls#L171 Add 'RecordAssociatedGroups' in the set private Set childRelationshipWhitelist =
new Set {'RecordAssociatedGroups',....};

@RajeshKandisa
Copy link
Author

Thanks. I will try that out.

@pbergner
Copy link

@RajeshKandisa this worked for me as well, thanks.

@RajeshKandisa
Copy link
Author

Thanks. It worked.

@afawcett
Copy link
Owner

afawcett commented Jun 6, 2015

Thanks @Sonal4J!

Should this be permanent change to the code?

@Sonal4J
Copy link
Contributor

Sonal4J commented Jun 7, 2015

@afawcett Yes. This needs to be fixed in the code permanently.

@afawcett afawcett added the bug label Jun 8, 2015
@afawcett
Copy link
Owner

afawcett commented Jun 8, 2015

Thanks, I have re-opened this issue and marked as a bug.

@afawcett afawcett reopened this Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants