Didomi incident

JavaScript error prevents notice closing after user choice

Notice Resolved View vendor source →

Didomi experienced a notice incident on July 12, 2021, lasting —. The incident has been resolved; the full update timeline is below.

Started
Jul 12, 2021, 11:59 AM UTC
Resolved
Jul 08, 2021, 11:00 PM UTC
Duration
Detected by Pingoru
Jul 12, 2021, 11:59 AM UTC

Update timeline

  1. resolved Jul 12, 2021, 11:59 AM UTC

    Between 2021/7/7 6:16pm CET and 2021/7/8 4:13pm CET, some websites were affected by a JavaScript Error that was preventing the notice from closing when the user clicked the Agree or Disagree buttons. A new version of the Web SDK that caused the error was deployed to production on 2021/7/7 at 6:16pm CET. The previous version of the Web SDK was restored and deployed back to production on 2021/7/8 at 4:13pm CET. Affected clients' websites were confirmed as working properly after the rollback. The cause for the error was an interaction of a polyfills library (prototype.js v1.7) with our SDK where the polyfills library overloaded the standard JavaScript Array filter method with a non standard findAll function. It looks like the version 1.7 of this library has a bug because the current version 1.7.3 is not conflicting with our SDK. What we are improving on our side to ensure it does not happen again: - Include the affected client’s polyfills library in out automated regression tests for the Web SDK to make sure that overloads of standard JavaScript methods are not creating issues; - Create automated tests for our clients websites that we can run before we deploy a new version of our SDK to the production environment.