QueryException: CollaborationGroupRecord requires a filter
RajeshKandisa opened this issue · comments
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?
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 childRelationshipWhitelist =
new Set {'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?
Thanks, I have re-opened this issue and marked as a bug.