09-05-2013 04:53 AM
Hi,
I use quota module (release 5.6.0-HF22) and i have problem with Picture document (JPG, PNG... files). The computed size for thoses files seems wrong.
When I upload a 777kB jpg file, DM shows effectively 777kB (Blob) but the quota module show, beneath the title, 2,41MBytes.
The others types of documents (Word, PDF...) don't suffer this problem.
09-05-2013 06:02 AM
Ok I found the reason why : by default quota compute the size of each view of the Picture (Original, thumbnail...).
To prevent this, you have to declare exclusions with this extension point :
<extension target="org.nuxeo.ecm.quota.size.QuotaSizeService" point="exclusions">
<exclude path="views/*/content"></exclude>
</extension>
Now size are equals.
09-05-2013 06:02 AM
Ok I found the reason why : by default quota compute the size of each view of the Picture (Original, thumbnail...).
To prevent this, you have to declare exclusions with this extension point :
<extension target="org.nuxeo.ecm.quota.size.QuotaSizeService" point="exclusions">
<exclude path="views/*/content"></exclude>
</extension>
Now size are equals.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.