<cfset relatedPermission = stPermission.aRelatedtypes[i] > <cfset structInsert(application.permission, relatedPermission , structNew())>
?? On 8 March 2013 14:31, Justin Carter <[email protected]> wrote: > Even this alternative doesn't work: > > <cfset structInsert(application.permission, stPermission.aRelatedtypes[i], > structNew())> > > ... when application.permission is a valid struct, and > stPermission.aRelatedtypes[i] is a string. > > cheers, > Justin > > > On Fri, Mar 8, 2013 at 5:20 PM, Justin Carter > <[email protected]>wrote: > >> Nope... There seems to be some deeper issue, like it failed building part >> of the permissions struct on app startup. It'll take a bit of debugging. >> >> >> On Fri, Mar 8, 2013 at 5:11 PM, AJ Mercer <[email protected]> wrote: >> >>> mabe >>> >>> <cfparam name="application.permission.['#stPermission.aRelatedtypes[i]#' >>> ]" default="#structnew()#" /> >>> >>> >>> >>> On 8 March 2013 14:02, Justin Carter <[email protected]> wrote: >>> >>>> I've hit a wall... Apparently this line of code is a problem: >>>> >>>> <cfparam name="application.permission.#stPermission.aRelatedtypes[i]#" >>>> default="#structnew()#" /> >>>> >>>> I'm not sure why OpenBD can't handle that... o_0 >>>> >>>> >>>> On Friday, March 8, 2013 4:44:59 PM UTC+11, Justin Carter wrote: >>>>> >>>>> Ahh... The final piece of the puzzle was changing like 145 of >>>>> /core/tags/misc/soft.cfm from >>>>> <cfif not structkeyexists(caller,**attributes.sendback)> >>>>> to: >>>>> <cfif not isDefined("caller.#attributes.**sendback#")> >>>>> >>>>> Slightly odd.... Both should work... >>>>> >>>>> Now that it's installed, the application framework isn't starting >>>>> correctly. I'll see how I go with that. >>>>> >>>>> >>>>> On Friday, March 8, 2013 4:30:03 PM UTC+11, Justin Carter wrote: >>>>>> >>>>>> I've started off just to see if FarCry will install on SQL Server >>>>>> with OpenBD, but I've had to patch a few things so far: >>>>>> - OpenBD doesn't allow struct keys called "null" when using dot >>>>>> notation (this will affect all DB Gateways, but can be resolved by >>>>>> replacing .null with ["null"]) >>>>>> - OpenBD throws an error because we have defined a function called >>>>>> "flush" (you can comment out the function in /core/webtop/includes/** >>>>>> cfFunctionWrappers.cfm) >>>>>> >>>>>> And the show stopper which I haven't yet found a workaround for: >>>>>> - OpenBD seems to have an issue with accessing a variable in the >>>>>> caller scope from within a custom tag (I need to debug this further...) >>>>>> >>>>>> In short, I don't have a quick workaround for you at the moment, >>>>>> unfortunately :( >>>>>> >>>>>> >>>>>> >>>>>>> -- >>>> 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 >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "farcry-dev" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> >>> >>> -- >>> >>> *AJ Mercer* >>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org >>> community="Open" /> <http://webonix.org> >>> http://twitter.com/webonix >>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/> >>> >>> -- >>> 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 >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "farcry-dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "farcry-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- *AJ Mercer* <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org community="Open" /> <http://webonix.org> http://twitter.com/webonix Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/> -- 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 --- You received this message because you are subscribed to the Google Groups "farcry-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
