I've finished translating our entire site into swedish - all in draft mode. (saving lots of time with the excellent CMS Batch Action module found here http://www.silverstripe.org/customising-the-cms/show/262215)
I'm now ready to go live and wanted to perform a batch action to publish all pages. This gives a 'Javascript Parse Error' on my live site (haven't yet been able to log the full error).
On my dev site it gives a 'Undefined error', looking like this in my log:
[27-Jul-2009 06:52:18] Warning at D:\Wamp Websites\cms\code\CMSBatchAction.php line 42: Invalid argument supplied for foreach() (http://localhost/admin/batchactions/publish)
If I use the batch action on the default language (en_US) it works fine.
Have someone else experienced this? What can I do? I'd rather not publish ~200 pages manually...