Ticket #1757 (new defect)

Opened 4 years ago

Last modified 3 years ago

Simplifying plone tools: Replace references with lists of UID:s

Reported by: jukka Assigned to:
Priority: postponed Milestone:
Component: generic Version:
Keywords: Cc:
Time spent: Time remaining:
Time planned:

Description

I have noticed that references (a field type, not content type) are quite slow, as the reference objects are separate objects that store uids and in most cases getting information out of referenced object requires going through all reference_catalog, uid_catalog and portal_catalog. This is especially bad with getGroupEditing, which is used very often.

An alternative would be simply having fields that store UID:s and we can do with single portal_catalog search to get object metadata.

Change History

06/17/08 10:43:35 changed by meelis

  • owner changed from anonymous to meelis.
  • status changed from new to assigned.

10/07/08 17:50:56 changed by pjotr

  • owner deleted.
  • status changed from assigned to new.

11/05/08 17:43:53 changed by pjotr

This one is also for Collections and several other places. Changing functionality itself might just require creating a new Field type. Bu the bigger problem will be with migration that would take the current elements from old fields and put that into the new ones.

01/07/09 17:08:41 changed by pjotr

These fields do not really store anything in them. All the contents live in refrence_catalog and are used within some of our searches. In case of exchange for the fields one should also create some ways to make quick and convenient searches.

01/12/09 13:35:12 changed by pjotr

  • priority changed from critical to postponed.

Until we think of a good solution that will be able to cover all the cases - this will not be done.