I suspect it is still in the latest version, so definitely add a bug ticket.
Blair On 25/05/2010 5:38 PM, "Phil Kemp" <[email protected]> wrote: A fresh pair of eyes pointed me to this code in the objectadmin.cfm file: <ft:processform action="unlock"> <cfif isDefined("form.objectid") and len(form.objectID)> <cfloop list="#form.objectid#" index="i"> <cfset o = createObject("component", PrimaryPackagePath) /> <cfset st = o.getData(objectid=i) /> <cfset o.setlock(locked="false") /> </cfloop> </cfif> </ft:processForm> Adding "stObj=st" to the o.setLock parameters fixes everything. I don't know if this has been corrected on newer versions of FarCry - this is using 5.2.2. If it's still got this behaviour, maybe it would be worth adding a bug issue for it? Phil Kemp wrote: > > Hi guys, > > I've got a custom type, which I'm using the ft:ObjectAdmin t... View this message in context: http://old.nabble.com/Can%27t-unlock-a-custom-type-tp28665181s621p28665213.html Sent from the FarCry - Dev mailing list archive at Nabble.com. -- You received this message cos yo... -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
