Submitted by : simon at: 2003-10-26T21:32:10+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

ids.sort in pageWithFuzzyName raises an exception when the ZWiki is in a BTree? folder.

Found in ZWiki-0-19-0


comments:

post the traceback when you get a chance --SimonMichael, 2003/06/21 16:36 GMT reply
Thanks. We should make this work.

post the traceback when you get a chance --anon, 2003/06/22 07:56 GMT reply
Sorry, I do not have a traceback at hand, but it was an attribute error on the line "ids.sort()". A trace showed that ids was of type IOBTreeItems?. Evidently, this type does not support the sort method. I just wrapped the offending line in a "try ... except: pass", which allowed me to access my page and does not, so far, seem to have generated any collateral damage.

fixed for 0.21 --SimonMichael, 2003/07/23 20:03 GMT reply
I have a feeling this might not be a problem on newer zopes. I've applied your workaround. So, the page returned may not be the alphabetically-first when using a BTreeFolder?.

property change --SimonMichael, 2003/07/23 20:04 GMT reply
Status: open => closed