Thanks Jon, I've committed that fix too (in farcrycms). Re changing the
webskin - it looks like this was one of those rare db gateway bugs. It
should be fixed now (in core).

Blair

On Thu, Jun 30, 2011 at 10:15 AM, Jon Low <[email protected]> wrote:

> Hi Phillip,
>
> Yes those are 2 bugs I've also just noticed this week.
>
> To fix the 'remove a handpicked object issue', you need to apply a
> similar code change that resolved my issue above. Line 120 needs to be
> changed to:
>
>
> onClick="fcForm.detachLibraryItem('#stObject.typename#','#stObject.objectid#','#
> arguments.stMetadata.name#','#arguments.fieldname#','#thisobject#');" /
> >
>
> where the argument "#i#" is changed to "#thisobject#". Objects should
> now remove properly. If you're reading this Blair, then can you please
> commit this?
>
> I haven't had a chance to look at the webskin issue, but it's probably
> a good idea to make it a new post so it doesn't get lost in this
> thread, as it is an important bug. If I do get a chance to look at it,
> I'll post my findings.
>
> Cheers,
> Jon
>
>
> On Jun 29, 9:41 pm, Phillip R <[email protected]> wrote:
> > Hi Jon,
> > Are you able to 'remove' a handpicked object or change the webskin of
> > an object once the rule has been saved?
> > I can't.
> > Anyone else have this problem?
> > Phil
> >
> > On Jun 27, 4:31 pm, Jon Low <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I have resolved this issue, which looks like a bug with the latest
> > > version of Farcry CMS (6.0.11).
> >
> > > Line 100 of ruleHandpicked cfc needs to be changed to
> >
> > > <li id="join-item-#thisobject#" class="sort #iif(not i mod
> > > 2,de('oddrow'),de('evenrow'))#" serialize="#thisobject#"
> > > style="clear:both;border:1px solid ##ebebeb;padding:5px;zoom:1;">
> >
> > > where the serialized attribute is changed to "#thisobject#" (instead
> > > of "#i#")
> >
> > > Cheers,
> > > Jon
> >
> > > On Jun 24, 11:29 am, Jon Low <[email protected]> wrote:
> >
> > > > We have started noticing an error using the drag and drop
> > > > functionality to reorder objects in a handpicked rule (tested with
> > > > core 6.0.11+).
> >
> > > > To recreate the error:
> >
> > > > 1) select some objects in a handpicked rule
> > > > 2) use the drag feature to re-order them.
> > > > 3) Click SAVE, and then the rule should break.
> >
> > > > Using debug=1, we can see the error is:
> >
> > > > "invalid typename passed or could not be determined"
> >
> > > > A screenshot of the error can be found here.
> http://screencast.com/t/O6rQWx72GHvJ
> >
> > > > We have tested this using the default downloaded install of the
> FarCry
> > > > 6.0.11 CMS Community Distro.
> >
> > > > Has anyone seen this before?
>
> --
> 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 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

Reply via email to