What's New in LTS 2021.9 / LTS 2021-HF09
Nuxeo Server
Core Storage
Add a Configurable TTL to Control How Long a Blob Remains in the Storage After Async Key Generation dev admin
After the asynchronous blob digest computation, the blob's key is changed to its digest by creating a new blob and deleting the old one. It could be a problem if a process is started as soon as the original blob is saved to the final S3 storage.
We can now control with a TTL parameter how long the binary will remain in the storage before being removed by the async digest computation. It can be configured through:
<require>org.nuxeo.ecm.core.blob.BlobManager</require>
<extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
<property name="nuxeo.blobmanager.delete.delay">2h</property>
</extension>
The default is one hour.
More on JIRA ticket NXP-30551
More Reliable Bulk Action to Set Blob Length Into S3 dev admin
A new bulk action s3SetBlobLength
is provided to asynchronously set the blob length into S3.
This new bulk action supersedes the one previously introduced (s3SetContentLength
).
The s3SetBlobLength
bulk action is not activated by default this needs to be done explicitly from nuxeo.conf with:
binarymanager.bulk.s3SetBlobLength.enabled=true
The number of partitions (maximum concurrency at cluster level) and the concurrency (per worker node) can be tuned with:
binarymanager.bulk.s3SetBlobLength.partitions=4
binarymanager.bulk.s3SetBlobLength.concurrency=2
The action will process all blobs of a document unless an XPath filter is provided. The force flag will always fetch the length from s3 and the document will be updated if the length is different.
Here is an example of invocation only on the main blob (file:content) with the force flag and for all document of type File:
curl -v -X POST -H "Content-Type: application/json" "localhost:8080/nuxeo/api/v1/search/bulk/s3SetBlobLength?query=SELECT%20*%20FROM%20File" -u Administrator:Administrator -d '{"force": true, "xpath": "content"}'
More on JIRA ticket NXP-30624
Packaging / Distribution / Installation
Tomcat 9.0.53 dev admin
The Nuxeo Platform now relies on Tomcat 9.0.53.
More on JIRA ticket NXP-30605
Miscellaneous
Cleanup Temporary Folder at Startup admin
It is now possible to automatically clean the temporary folder at Nuxeo Server startup (to reduce storage space and avoid folder saturation).
To enable this feature and so delete the temporary folder at startup, you have to add this property to your nuxeo.conf:
nuxeo.startup.clean.tmp.dir=true
More on JIRA ticket NXP-17098
Major Bug Fixes
Document Properties Override dev
The merge of document property definition is fixed
More on JIRA ticket NXP-30617
Update or Delete Document With Multi-Valued Properties dev
Concurrent updates and deletes for multi-valued properties is better managed with MongoDB.
More on JIRA ticket NXP-30542
Only 1 Email Notification Sent per Comment
With some specific configuration on Nuxeo Server, clients received multiple notifications (3 mails) per comment created.
More on JIRA ticket NXP-30131
Download a List of Documents as a ZIP File Creates a ZIP of ZIP
The download all as a Zip feature action used to create a double Zip.
More on JIRA ticket NXP-30493
Retention Addon - Edit and Delete a Record After Retention Period or Legal Hold
Due to the versioning issue, only the creator of a record could edit or delete the document after expiration or legal hold. All granted users can do it now.
More on JIRA ticket NXP-30453
JSF Addon - Different Upload Paths in JSF Lead To Different MIME-Types for XML Binaries
XML binaries are now always created with the same MIME type, whatever the way it has been uploaded into JSF.
More on JIRA ticket NXP-30494
WOPI Addon - Fix Wopi Version When Blob Is Updated
The WOPI version (user change token) is now updated accordingly to the blob file, even if the document blob is updated directly into Nuxeo.
More on JIRA ticket NXP-30585
IMAP Connector Addon - Fix PDF Preview And Rendition of Mail Document
HTML preview (based on the PDF rendition) and PDF rendition of Mail documents previously always produced the same PDF, the first one that got generated since the Nuxeo Platform startup.
PDF preview and rendition of Mail document is now fixed and provide the accurate PDF rendition.
More on JIRA ticket NXP-30598
Learn More
More information about released changes and fixed bugs is available in our bug tracking tool.