-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Fix Version/s: 9.10-HF30, 10.10-HF05, 11.1, 2021.0
-
Component/s: Quotas
- install Nuxeo
- install the quota addon
- install JSF UI
- create a workspace
- set 200kb max quota space on the workspace
- import a picture above 150kb but less than 200kb
- observe the picture is correctly imported
- attempt to import another picture of similar size
- observe an error is displayed
- set the quota max to 100kb
- attempt to modify the picture document description (don't increment the version)
- observe an error is raised about maximum quota space exceeded
- observe the following exception is in the server logs:
Caused by: org.nuxeo.ecm.quota.size.QuotaExceededException: label.quotaException.QuotaExceeded at org.nuxeo.ecm.quota.size.DocumentsSizeUpdater.checkQuota(DocumentsSizeUpdater.java:369) at org.nuxeo.ecm.quota.size.DocumentsSizeUpdater.processDocumentCreated(DocumentsSizeUpdater.java:181) at org.nuxeo.ecm.quota.AbstractQuotaStatsUpdater.updateStatistics(AbstractQuotaStatsUpdater.java:110) at org.nuxeo.ecm.quota.QuotaStatsServiceImpl$1.run(QuotaStatsServiceImpl.java:100) at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:117) at org.nuxeo.ecm.quota.QuotaStatsServiceImpl.updateStatistics(QuotaStatsServiceImpl.java:103) at org.nuxeo.ecm.quota.QuotaStatsListener.handleEvent(QuotaStatsListener.java:76) at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:243)
- attempt to modify the picture document description (increment the versions)
- observe the modification is accepted an no error is displayed