Hi guys, I've got a couple of custom types that I've added, and wanted to have permissions for them to restrict access to certain users. I created the permissions fine using the Scaffold option in Admin>Types, but for some reason it won't let me assign them to a role. Instead, I get the following error:
> Message The OBJECTID argument passed to the onSecurityChange function is > not of type uuid. > ... > Tag Context > 1 struct > COLUMN 0 > ID CF_UDFMETHOD > LINE 1233 > RAW_TRACE at > cftypes2ecfc171263895$funcONSECURITYCHANGE.runFunction(D:\Tomcat > 6\servers\eOM\webapps\cfusion\farcry\core\packages\types\types.cfc:1233) > TEMPLATE D:\Tomcat > 6\servers\eOM\webapps\cfusion\farcry\core\packages\types\types.cfc > TYPE CFML > > 2 struct > COLUMN 0 > ID CF_TEMPLATEPROXY > LINE 528 > RAW_TRACE at cffarRole2ecfc617857635$funcSETDATA.runFunction(D:\Tomcat > 6\servers\eOM\webapps\cfusion\farcry\core\packages\types\farRole.cfc:528) > TEMPLATE D:\Tomcat > 6\servers\eOM\webapps\cfusion\farcry\core\packages\types\farRole.cfc > TYPE CFML > There's a query being done before the error is thrown, for which the SQL is: > select objectid from XXX.dmMissions > The odd thing is, though, that the permission I'm trying to add is for dmMissionsRedirect, which extends dmMissions, and there are no records in the dmMissions table, and hence, an empty string is not a UUID and thus crashes. Can anyone shed any light on what might be causing this issue? Cheers, Phil -- View this message in context: http://old.nabble.com/Error-when-assigning-Permissions-in-5.2.2-tp27714414s621p27714414.html Sent from the FarCry - Dev mailing list archive at Nabble.com. -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev@googlegroups.com To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry