-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: ADDONS_2021, ADDONS_11.x
-
Component/s: Retention
The expressions of some retention filters are bad. Typically:
expression="!this.document.retainUntil
TheĀ document object is already in the filter context and we should not use this.
This results in some javascript errors:
nuxeo-filter.js:212 TypeError: Cannot read property 'retainUntil' of undefined in <nuxeo-filter> expression "!this.document.retainUntil && !this.hasFacet(document, 'Folderish') && this.hasPermission(document, 'MakeRecord') && this.hasPermission(document, 'SetRetention')"
- is duplicated by
-
NXP-30512 Attach retention rule button isn't visible
- Resolved
- Is referenced in