Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Members / jhb / Using the catalog in plone command line scripting

Using the catalog in plone command line scripting

by Jörg Baach last modified Jul 17, 2012 12:42 PM
When running a command line script with 'bin/instance run <script>' the catalog always returns 0 results. Why?

Its all on http://collective-docs.readthedocs.org/en/latest/misc/commandline.html

One needs to spoof the request in order to get results from the catalog. Thinking about it. Might have to do with permissions - on the site that I use no content is visible at all to unauthorized users.

Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 42 minus 19?
Your answer: