We need to lock datetime-picker dependency. This is a third-party polyfill whose recent development has caused regressions to ELEMENTS-503, and has also been causing other issues.
We must add unit tests to this element to detect changes like this as early as possible.
Also, version 2.6.7 version has bad javascript which breaks our build at lint check:
03:09:07 [exec] SyntaxError: /opt/jenkins/workspace/Deploy/IT-nuxeo-master-build/nuxeo/addons/nuxeo-web-ui/bower_components/datetime-picker/datetime-picker-mixin.html_script_0.js: "prop" is read-only 03:09:07 [exec] 141 | case 'year': 03:09:07 [exec] 142 | case 'month': 03:09:07 [exec] > 143 | prop = 'year'; break; 03:09:07 [exec] | ^ 03:09:07 [exec] 144 | case 'day': 03:09:07 [exec] 145 | prop = 'month'; break; 03:09:07 [exec] 146 | case 'hours':
- duplicates
-
ELEMENTS-548 Lock datetime-picker dependency
- Resolved