unlocking is working in farcry 6.0.2 On 26 May 2010 15:21, Phil Kemp <[email protected]> wrote:
> > Blair, there seems to be some confusion about this issue. I went on the > bugs > page and found an issue that sounds similar, and according to that, it's > "fixed", but another user claims it is not. > > http://bugs.farcrycms.org/browse/FC-1150 > > It says fixed for version 6.0, which I don't have, so maybe someone else > can > check this out? > > > > Blair McKenzie-2 wrote: > > > > 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]<farcry-dev%[email protected]> > > For more options: http://groups.google.com/group/farcry-dev > > -------------------------------- > > Follow us on Twitter: http://twitter.com/farcry > > > > -- > View this message in context: > http://old.nabble.com/Can%27t-unlock-a-custom-type-tp28665181s621p28677327.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: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > -- AJ Mercer http://webonix.net http://twitter.com/webonix -- 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
