Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-545

Lock datetime-picker dependency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.1-SNAPSHOT
    • Fix Version/s: 2.3.1
    • Component/s: UI
    • Tags:
    • Sprint:
      nxGang Sprint 10.1.4
    • Story Points:
      2

      Description

      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':
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 2 hours
                  2d 2h