You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gianluca Morello <mo...@S1.my-tv.it> on 2004/04/05 14:03:07 UTC
[Slide] 2.1.4 Autoversion broken?
Hallo,
I successfully used slide with autoversion control enabled under cocoon 2.1.3
I'm trying to migrate to cocoon 2.1.4 but now the autoversion is not working anymore.
The store type is the default: ContextTxFileContentStore.
I correctly set the deltav parameters as needed in slide.xconf:
<parameter name="auto-version">checkout-checkin</parameter>
<parameter name="auto-version-control">true</parameter>
All is ok but:
When i try to upload a file through the sample admin i always notice:
1) In the related metadata file (.def.xml) the attribute useVersioning of the RevisionHistory element is always set to false.
2) The getcontenttype property is always set to application/octet-stream.
Other notes:
I checked (with a script in flow.js) that the method org.apache.slide.util.Configuration.useVersionControl() returns true;
I remember that in cocoon/slide 2.1.3 when i uploaded a binary file (mime type=application/octet-stream) to the slide repository the autoversion was automatically disabled but i did'nt understand where and why.
I tried to force the content type to text/xml in the SlideSourceOutputStream class ( descriptors.setContentType("text/xml") ).
Now i'm able to preview the document in the admin example, but i still get the useVersioning attribute set to false in the metadata files.
Can someone help me or suggest where i can continue investigating?
Thank you.
Best regards
Gianluca Morello
Re: [Slide] 2.1.4 Autoversion broken?
Posted by Joerg Heinicke <jo...@gmx.de>.
On 05.04.2004 14:03, Gianluca Morello wrote:
> Hallo,
>
> I successfully used slide with autoversion control enabled under cocoon 2.1.3
>
> I'm trying to migrate to cocoon 2.1.4 but now the autoversion is not working anymore.
From the commit messages I'd say the slide block is under heavy
development/refactoring at the moment. For details you might ask on the
developers list or Unico Hommes in particular.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org