Stop duplicate items

Posted by Community Admin on 05-Aug-2018 03:12

Stop duplicate items

All Replies

Posted by Community Admin on 30-May-2011 00:00

Oh here's what I expect with fluent

Lets call my event "Steves Birthday", it's set to start Jan 1st, 2012...and that's the only event in my database...

When I query with fluent

App.WorkWith().Events().Get();

I expect that "Steves Birthday" is returned once in whatever it's current state is.  I cannot fathom the reason why I would need to specify .Published (or "Publihed" ;) to filter those two results back down to one.  If the event is currently published what's the case in which it's desired result is to return me the not published version?

(so in the above query, I get two results back)

Is it a bug?...if not, it should be

Posted by Community Admin on 30-May-2011 00:00

Hello Steve,

Each content item has master, temp and draft status. If you don't different lifecycle states for an object you will get all states for this single object.

Greetings,
Ivan Dimitrov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed