Re: Re: 6.1.1 / Trunk - Handpicked rules erroring or ignoring "Select Objects"

Geoff Bowers <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAKvFMZ2LYF70rXUup7OYP6X-nq1cmqSX84rp673wsh_QJa_rSQ@mail.gmail.com>
Thanks for that Phil, we'll get the code base updated shortly.

GB
On 31 Jan 2013 14:23, "Phillip R" <[email protected]> wrote:

> Hi Guys,
> Just in case anyone else has been struggling with the Handpicked rule
> issue I though I'd suggest that the solutions above (which I've been using)
> are not necessary at all. The issue that causes the
> [objectid] is part of this table's primary key and must be included in
> stProperties
> is actually the /packages/types/ruleHandpicked_aObjects.cfc which extends
> farcry.core.packages.types.arrayTable. From what I can see it isn't
> required as the webskin list is created in the ftEditAObjects with
> a getWebskins call.
> The ruleHandpicked_aObjects.cfc in the types folder seems to make an
> objectid required on saving, which it doesn't have. Ergo the error. My
> suggestion is to remove the ruleHandpicked_aObjects.cfc file completely and
> do a restart of the app and you should be good to go.
>
> As a side note, if you have a rule in place and you add a new item to it,
> the webskins all revert to the default (or top of the list) webskin.
> If you replace <cfset thiswebskin = "" /> at around line 79 of
> ruleHandpicked.cfc with:
> <cftry>
> <cfquery datasource="#application.dsn#" name="wk">
> SELECT webskin
> from ruleHandpicked_aObjects
> WHERE parentid='#stObject.objectid#' AND seq=#i#
> </cfquery>
> <cfset thiswebskin=wk.webskin>
> <cfcatch><cfset thiswebskin = "" /></cfcatch>
> </cftry>
> The existing (saved) webskins will be retained (except for any just added).
>
> Phillip
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[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 farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[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: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[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 farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.