Uploaded image for project: 'Flagon'
  1. Flagon
  2. FLAGON-341

Web Extension Produces Duplicate Logs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • UserALE.js 2.1.0
    • UserALE.js 2.1.0
    • UserALE.js
    • None
    • Chrome 72
      Firefox 65
      javascript
    • Patch, Important

    Description

      The Web Extension produces duplicate logs w/ identical class structure and time stamps (incl. microtime).

      Affects 'SENSSOFT-336', 'SENSSOFT-192' branches, and pre-Gulp 4.0.0 'SENSSOFT-192' builds. 

      Affects logs originating from both Firefox and Chrome

      Confirmed that this isn't an indexing problem with Elastic–duplicate logs appear in local file using our example server test utility.

      Confirmed using both temporary 'unpacked' extensions built from source, and pre-build extension on chrome store.

      Behavior noted following upgrade to recent versions of Chrome/Firefox (72/65)

      Confirmed that this behavior DOES NOT affect UserALE.js script tag deployments.

      Confirmed that this behavior originates from browser using java "example" log server (see below).

      {"target":"div#main-masthead.ui masthead padded center aligned inverted vertical segment","path":["div#main-masthead.ui masthead padded center aligned inverted vertical segment","div.main-wrapper","body","html","#document","Window"],"pageUrl":"http://senssoft.incubator.apache.org/","pageTitle":"Apache SensSoft","pageReferrer":"","clientTime":1553281575226,"microTime":0.73,"location":{"x":288,"y":70},"type":"click","logType":"raw","userAction":true,"details":{"clicks":1,"ctrl":false,"alt":false,"shift":false,"meta":false},"userId":"nobody","toolVersion":null,"toolName":"test_app","useraleVersion":"1.1.0","sessionID":"session_1553280781567"},
      
      {"target":"div#main-masthead.ui masthead padded center aligned inverted vertical segment","path":["div#main-masthead.ui masthead padded center aligned inverted vertical segment","div.main-wrapper","body","html","#document","Window"],"pageUrl":"http://senssoft.incubator.apache.org/","pageTitle":"Apache SensSoft","pageReferrer":"","clientTime":1553281575226,"microTime":0.73,"location":{"x":288,"y":70},"type":"click","logType":"raw","userAction":true,"details":{"clicks":1,"ctrl":false,"alt":false,"shift":false,"meta":false},"userId":"nobody","toolVersion":null,"toolName":"test_app","useraleVersion":"1.1.0","sessionID":"session_1553280781567"},
      
      

      Attachments

        1. image-2019-07-24-20-59-18-395.png
          54 kB
          Joshua Poore
        2. image-2019-07-24-21-11-20-917.png
          54 kB
          Joshua Poore
        3. Screen Shot 2019-07-23 at 11.26.58 PM.png
          176 kB
          Joshua Poore

        Activity

          People

            poorejc@me.com Joshua Poore
            poorejc@me.com Joshua Poore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: