zope.app.component.vocabulary.UtilityNames getTermByToken can never find a term by token
Bug #99408 reported by
Gabi Shaar
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Zope 3 | Status tracked in 3.4 | |||||
3.4 |
Fix Released
|
High
|
Christian Theune |
Bug Description
zope.app.
in UtilityNameTerm the token is built as following :
"t" + self.value.
but in UtilityNames.
name.encode(
ignoring the added "t".
To post a comment you must log in.
You're right. There was quite a bit of code-duplication in this place. I've fixed this. Thanks for the heads-up.