-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ADDONS_2021
-
Component/s: Retention
-
Release Notes Summary:Retain action now works as expected
-
Tags:
-
Sprint:nxplatform #58
-
Story Points:3
In the retention addon for 2021, moment is no properly loaded resulting in errors in the browser console such as:
main.bundle.js:12648 Uncaught TypeError: u is not a function
at h._computeMinDate (nuxeo-retention.bundle.js?ts=1647506065869:234:814)
at V (main.bundle.js:12648:74402)
at Function._evaluateBinding (main.bundle.js:12648:88771)
at Object.Y [as fn] (main.bundle.js:12648:72641)
at M (main.bundle.js:12648:69847)
at r (main.bundle.js:12648:81749)
at h._runEffectsForTemplate (main.bundle.js:12648:81904)
at h._propagatePropertyChanges (main.bundle.js:12648:81651)
at h._propertiesChanged (main.bundle.js:12648:81181)
at h._flushProperties (main.bundle.js:12648:62594)
Steps to reproduce:
- Create an event based rule
- Attach this rule to a document
- See the document is under indeterminate retention
- But the nuxeo-retain-button is not available because of the produce error
- is related to
-
NXP-30943 Add validation for nuxeo-retain-button availability
- Resolved