[Zope-CMF] Content doens't change state in catalog ...

Dieter Maurer dieter@handshake.de
Sat, 16 Nov 2002 20:36:20 +0100


--yEhVlR0ukx
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

Gitte Wange writes:
 > ...
 > > It should (and it does for me).
 > > 
 > > However, from CMF 1.3 on, it only updates the workflow variable
 > > information. It no longer make a full "reindexObject".
 > 
 > Hmmm ... so when I make a catalog search - what _should_ happen to newly 
 > published documents ?
 > I would expect them to show up - but they doesn't ...
I use the attached script to view the catalog info for an
object (very helpful!).

You may have found a bug, in that the workflow state might be
updated but not the permissions ("AllowedRolesAndUsers").


Dieter

--yEhVlR0ukx
Content-Type: application/x-python
Content-Description: Script to view catalog info
Content-Disposition: attachment;
	filename="Test_IndexInfo.py"
Content-Transfer-Encoding: base64

IyMgU2NyaXB0IChQeXRob24pICJUZXN0X0luZGV4SW5mbyIKIyN0aXRsZT1aZWlndCBJbmRl
eCBJbmZvcm1hdGlvbiBm/HIgKmNvbnRleHQqIGFuLgojI3BhcmFtZXRlcnM9CkM9IGNvbnRh
aW5lci5wb3J0YWxfY2F0YWxvZwpjYW5kaWRhdGVzPSBDLnNlYXJjaFJlc3VsdHMoaWQ9IGNv
bnRleHQuZ2V0SWQoKSkKdXJsPSAnLycgKyBjb250ZXh0LmFic29sdXRlX3VybCgxKQpmb3Ig
YyBpbiBjYW5kaWRhdGVzOgogIGlmIGMuZ2V0UGF0aCgpID09IHVybDoKICAgIGNvbnRhaW5l
ci5SRVFVRVNULlJFU1BPTlNFLnJlZGlyZWN0KAogICAgICAnJXMvbWFuYWdlX29iamVjdElu
Zm9ybWF0aW9uP3JpZD0lcycgJSAoCiAgICAgIEMuYWJzb2x1dGVfdXJsKCksIGMuZGF0YV9y
ZWNvcmRfaWRfCiAgICAgICkpCiAgICByZXR1cm4gJ3JlZGlyZWN0ZWQnCnJldHVybiAnbm8g
Y2F0YWxvZyBpbmZvcm1hdGlvbiBmb3VuZCcK
--yEhVlR0ukx--