#33 — Preserve order in VDEX vocabularies.

StateResolved
Version: 1.1
AreaFunctionality
Issue typePatch
SeverityMedium
Submitted byJean Jordaan
Submitted onJan 19, 2007
Responsible Jens W. Klein
Target release:
Return to tracker
Last modified on Jan 08, 2009 by Matthew Wilkes


VdexTermHandlerMixin.getVocabularyDict uses nested dicts to represent the vocabulary. These are also used when building the DisplayLists for selection widgets. Consequently the order of terms is not preserved. Here's a patch that uses an ordered dictionary implementation from
  http://aspn.activestate.com/[…]/496761
to keep the order.

There are more recipes at:
  http://aspn.activestate.com/[…]/438823
  http://aspn.activestate.com/[…]/107747
Attached:
ATVocabularyManager-trunk-OrderedDictionary.patch — differences between files, 1Kb
Added byJens W. KleinonMar 02, 2007 08:54 AM
Issue state: unconfirmedresolved
Responsible manager: (UNASSIGNED)jensens
added preserve-order of vdex, but by using Products.Archetypes.utils.OrderdDict

Add response

Please enter your response below