ArchGenXML: issues/32 patch
Bill de hÓra <bill-h1s9WT/[email protected]> Tue, 11 Jul 2006 17:48:27 +0100
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I just submited a patch that stop the insertion of a term called
"default" against this ticket, "ATVocabulary vocabularies generated in
code get unwanted default entry":
http://plone.org/products/archgenxml/issues/32
the insertion is caused by this piece of code in template/Install.py
[[[
atvm[vocabname].invokeFactory(vocabmap[vocabname][1],'default')
atvm[vocabname]['default'].setTitle('Default term, replace it by your
own stuff')
]]]
that arrives in the product's Install.py and gets run against each vocab
unless it is a VdexVocabulary.
As far as I can tell, ATVocabularyManager doesn't support marking a
vocabulary with a default term. If default term support ever lands
ATVocabularyManager a "vocabulary_default_term" can be added to support it.
cheers
Bill
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642