This is NOT an April's Fool! Possible bug in ZCatalog ?
Hello, Sorry about the long subject line but - this thing has been bugging us all day and I actuaaly thought it was someone making an April's Fool out of me :-) I hav a setup with Zope-2.6.2 and CMF-1.3 - here there is a portal_catalog which inherits from ZCatalog. It has a default index named 'path' (which contains the path to the object) It did contain the path untill we reindexed the entire catalog - the the path index in every object contained a lot of html code. Not so good :-) I then discovered that a person had joined the site with the username 'path' and then the contents of his home folder got indexed in the 'path' index - damn! I'm not sure how you could make a fix for this, but the index method should somehow deal with what kind of content get's indexed into the indexes (IMO). Anyone else who has experienced this - and how do you prevent it from happen? Greetings, Gitte Wange
Gitte Wange wrote:
Anyone else who has experienced this - and how do you prevent it from happen?
Don't let a user sign up wit hthe name 'path'. Damn, implicit acquisition can suck rocks through straws... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Not a problem for me. Happy April Fools Day. Upgrade time? I'm running Zope 2.7.0 and Plone 2.0 final (CMF 1.4.2) and my path index is set to use the getPhysicalPath attribute. Maybe somebody else noticed this and provided a fairly general fix (allowing attribute specification independent of the index Id on some index types). =Paul At 03:50 PM 4/1/2004, Chris Withers wrote:
Don't let a user sign up wit hthe name 'path'.
Damn, implicit acquisition can suck rocks through straws...
Chris
At 08:46 AM 4/1/2004, Gitte Wange wrote:
Hello,
Sorry about the long subject line but - this thing has been bugging us all day and I actuaaly thought it was someone making an April's Fool out of me :-)
I hav a setup with Zope-2.6.2 and CMF-1.3 - here there is a portal_catalog which inherits from ZCatalog. It has a default index named 'path' (which contains the path to the object)
It did contain the path untill we reindexed the entire catalog - the the path index in every object contained a lot of html code. Not so good :-)
I then discovered that a person had joined the site with the username 'path' and then the contents of his home folder got indexed in the 'path' index - damn!
I'm not sure how you could make a fix for this, but the index method should somehow deal with what kind of content get's indexed into the indexes (IMO).
Anyone else who has experienced this - and how do you prevent it from happen?
Greetings, Gitte Wange
participants (3)
-
Chris Withers -
Gitte Wange -
Paul Howell