Ticket #813 (new defect)

Opened 4 years ago

Last modified 3 years ago

draft documents in search results

Reported by: tziade Assigned to: gracinet
Priority: P3 Milestone: CPS 3.5.0
Component: CPSDefault Version: TRUNK
Severity: minor Keywords:
Cc:

Description

a draft document should not be retrieved by portal searches, unless the user is the one who has checked out

Change History

08/03/05 15:16:36 changed by fguillaume

  • milestone changed from CPS 3.3.5 to CPS 3.3.6.

09/15/05 20:22:58 changed by fguillaume

  • milestone changed from CPS 3.3.6 to CPS 3.4.0.

12/14/05 21:00:31 changed by gracinet

Just tested: the count is wrong (says that search returned 2 results), but the draft doesn't show up.

Aside: to me, the permissions set on drafts don't make sense.

12/14/05 21:17:34 changed by gracinet

  • owner changed from trac to gracinet.
  • priority changed from P2 to P3.
  • severity changed from normal to minor.
  • milestone changed from CPS 3.4.0 to CPS 3.4.1.

About the bad count: the script returns a consistent info. What happens is that this is passed to

<metal:block use-macro="here/content_lib_display_contents/macros/display_contents" />

which does the batching and so on. In particular, it decides for each item whether to display it or not. So it'd be a bigger refactor to have a consistent count.

05/16/06 15:31:28 changed by sfermigier

  • milestone changed from CPS 3.4.1 to CPS 3.4.2.

05/19/06 16:57:29 changed by sfermigier

  • milestone changed from CPS 3.4.2 to CPS 3.4.3.