You need to sign in to do that
Don't have an account?

test errors after spring 17 update
Hi,
I am receiving the following error after Spring 17 update in a test, prior to the update it was working fine
System.UnexpectedException: ; nested exception is: common.exception.ApiQueryException: FROM PermissionSet WHERE Label = ( 'YYYY', 'XXXX ) ^ ERROR at Row:1:Column:44 Bind variables only allowed in Apex code
Executed SOQL:
delete [SELECT Id, AssigneeId, PermissionSetId, PermissionSet.Label FROM PermissionSetAssignment WHERE AssigneeId IN :userSet AND PermissionSet.Label IN :userDeleteApp];
userDeleteApp is string set
Set<String> userDeleteApp = new Set<String>();
Any help would be appreciated,
Thanks,
-Jani
I am receiving the following error after Spring 17 update in a test, prior to the update it was working fine
System.UnexpectedException: ; nested exception is: common.exception.ApiQueryException: FROM PermissionSet WHERE Label = ( 'YYYY', 'XXXX ) ^ ERROR at Row:1:Column:44 Bind variables only allowed in Apex code
Executed SOQL:
delete [SELECT Id, AssigneeId, PermissionSetId, PermissionSet.Label FROM PermissionSetAssignment WHERE AssigneeId IN :userSet AND PermissionSet.Label IN :userDeleteApp];
userDeleteApp is string set
Set<String> userDeleteApp = new Set<String>();
Any help would be appreciated,
Thanks,
-Jani