|
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? Gianluca Morello
- Re: [Slide] 2.1.4 Autoversion broken? Joerg Heinicke
