Hi Martin,

Am 22.07.10 10:15, schrieb Martin Dominguez:

I'm not sure yet if it is possible to do this, but I found a workaround. In
workflow overview option available for each document, you can click on
publish buttons to many documents, so it is very easy to publish many
documents very fast.

However, does anyone know how to publish everything in a single process?

we decided to remove the subtree workflow features because it is very hard to specify the exact requirements. Some issues are:

* How should the language versions be treated?
* What about documents that are not in the correct workflow state?
* Access control (forbidden access to documents in the subtree)
* Collecting broken links and notifying the user about them

Especially the access control point is a bit tricky since Lenya implements a per-URL (HTTP-based) access control model as opposed to a per-document (repository-based) model. That's why a naiive implementation of the batch usecases would be a potential security leak. Note to developers: We have to change this in Lenya 3. JCR will come to the rescue.

But I think it is reasonably easy to implement a simple "Batch publish" usecase which iterates over the subtree in preorder and publishes all documents which are in the correct workflow state. I'm not sure though if we should include this in the standard distribution since the requirements might vary.

-- Andreas




Martin Dominguez wrote:

Hi all again,

Is it possible publish all documents form a Lenya 2.0.3 site in a massive
way?

In Lenya 1.2.4. you had to copy authoring folder to live folder... but in
Lenya 2 I think that I will have problems with meta files... What can I
do??

Someone must have had same problem as me.

Thanks in advance.

Salu2.

Martín.-




--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to