The fix is a very naive filter - instead of outputing every item returned, the tag will identify types that have the "status" property and only show items that are allowed by request.mode.lValidStatus. There is no extra logic to find live objects if only a draft item is in the list, or to hide and approved item and show the draft version if only the approved item is attached.
Blair On Wed, Jul 14, 2010 at 6:59 PM, Annette21 <[email protected]> wrote: > I received notification that this has now been fixed in version 6.0.5. > Thanks for this. > However I wondered whether this will work correctly in showdraft > mode.Request.mode.lValidStatus will contain letters for approved, > pending and draft status when Showdraft is turned on. This could cause > both approved and draft versions of an object to display when in > Showdraft mode. I have had similar problems displaying lists of > versioned objects in rules on a page. (This is not a problem when > categories are used to select the objects as the core code takes care > of it correctly). I have had to add an additional query to find a > draft version if it exists and to display it instead of the original/ > approved version which was added in the rule. > > Would someone be able to confirm that my assumption is correct in the > new version 6.0.5 or let me know whether Farcry now deals correctly > with related objects in Show draft mode. > > Many thanks > > On 13 July, 15:28, Annette21 <[email protected]> wrote: > > This is important to us also. We get a lot of university students > > trying to login when they hit the login page - this used to create a > > Farcry ldap account. Although we have now stopped this happening it > > did give us an indication of the number of internal web site visitors > > that were being affected. This is quite a large problem and we would > > be very grateful for a resolution. I have added my vote. Thanks for > > offering to escalate it Geoff. > > > > On 3 July, 10:20, Phillip R <[email protected]> wrote: > > > > > I've added my vote :) > > > > > On Jul 3, 12:19 pm, Geoff Bowers <[email protected]> wrote: > > > > > > I think this sounds like a relatively easy change. And something that > > > > would add value. > > > > > > The reason it gets pushed is we try and release stable milestones as > > > > frequently as we can.. And it means that issues get rolled to the > > > > next version regularly. If it's not "on our radar" it may seem like > it > > > > gets pushed indefinitely :( sorry about that-- just lobby for the > fix, > > > > it helps give it visibility and we really don't mind. The worse we > can > > > > do is ignore it, which sounds like what we've been doing for a while > > > > ;) > > > > > > I'll see what I can do to escalate a fix. > > > > > > GB > > > > > > On Saturday, July 3, 2010, Chris Roth <[email protected]> wrote: > > > > > Hi All, > > > > > > > Curious if anyone using 5.2. <7 has tweaked therelatedcontentweb > > > > > skin to respect an objects status (draft/approved). I logged a bug > on > > > > > this a long time ago (4.0.9) and it seems to be gettnig pushed back > on > > > > > each release. > > > > > > > I attempted to find a good spot to hook this in but I am an FC > novice > > > > > and cant seem to find the spot.. perhaps this is why Geoff/Daemon > > > > > have to keep pushing it out. > > > > > > > The problem I have is we use the skin heavily on our site and my > > > > > contributors are doing a lot of dmfile overhauls and setting them > to > > > > > draft, but they are appearing on the site where the skin is used. > When > > > > > these files are clicked the user is, as expected, sent to a login > > > > > page, which is an unacceptable user experience in my opinion. To > make > > > > > matters worse, there does not seem to be an easy way for me to > > > > > "unrelate' a dmfile object as there is no report on which objects > this > > > > > dmfile isrelatedto in the first place. > > > > > > > Anyway, if anyone has fixed their install and is willing to share > I > > > > > could really use a fix. > > > > > > > In the meantime is you could vote for this issue (if you are using > > > > > skin:releatedcontent, I would recommend it) I'd appreciate it. > > > > > > >https://farcry.jira.com/browse/FC-1172 > > > > > > > Chris > > > > > > > -- > > > > > 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-Hide quoted text - > > > > > - Show quoted text - > > -- > 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 > -- 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
