apex-sobjectdataloader
apex-sobjectdataloader copied to clipboard
QueryException: CollaborationGroupRecord requires a filter
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.
@Sonal4J I believe there is a fix for this?
@afawcett Yes. In my last commit I have fixed this issue.
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.
@RajeshKandisa https://github.com/afawcett/apex-sobjectdataloader/blob/master/apex-sobjectdataloader/src/classes/SObjectDataLoader.cls#L171 Add 'RecordAssociatedGroups' in the set private Set<String> childRelationshipWhitelist = new Set<String> {'RecordAssociatedGroups',....};
Thanks. I will try that out.
@RajeshKandisa this worked for me as well, thanks.
Thanks. It worked.
Thanks @Sonal4J!
Should this be permanent change to the code?
@afawcett Yes. This needs to be fixed in the code permanently.
Thanks, I have re-opened this issue and marked as a bug.