Ticket #1325 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

CPS folder_contents

Reported by: patrick.chailloux@interieur.gouv.fr Assigned to: rspivak
Priority: P1 Milestone: CPS 3.4.0
Component: CPS (global) Version: 3.2.0
Severity: normal Keywords:
Cc: ja@nuxeo.com

Description

Sur un CPS par défaut, la gestion des contenus d'un dossier ne permet pas d'afficher plus de 100 documents. Ils sont bien présents dans la ZMI, et la vue "gérer le contenu" liste bien combien de documents sont affichés sur le total, mais impossible d'accéder aux documents dépassant la position 100...

J'ai mené ma petite enquête et il semblerait bien que le coupable soit la valeur 'max_items' dans le script /portal_skins/cps_default/getBatchList

C'est très génant dans la mesure où sous un CMF standard, j'avais l'habitude de gérer près de 1600 documents dans le même folder.

[confirmé par Julien Anguenot]

Piste évoquée : Utiliser des ProxyBTreeFolder à la place des ProxyFolder? (ceux par défaut) là on est censé pouvoir augmenter clairement le nombre de la limite du batch considérablement sans soucis.

Change History

02/01/06 12:47:05 changed by ebarroca

  • owner changed from fguillaume to rspivak.

Use BTreeFolder for workspaces + provide a migration script.

02/01/06 14:05:48 changed by atchertchian

IMO we'd like to keep order for default workspaces, but we could provide a default document type for workspaces that will have to hold a great number of documents. This document could also be used for the members folder.

And maybe the getBatchList.py script could take another max value for this kind of folders?

02/01/06 14:32:19 changed by div

The members folder currently use a new document tpye: Members Workspace which is a Proxy BTree Folder. Maybe this document type could be adapted (mainly by changing it's name) to be used for the workspaces also (if the lack of ordering is not an issue).

02/08/06 13:09:43 changed by ebarroca

  • status changed from new to closed.
  • resolution set to fixed.

Use ArchiveSection? for that.