[
https://issues.apache.org/jira/browse/FLAGON-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892314#comment-16892314
]
Joshua Poore commented on FLAGON-341:
-------------------------------------
Attempted to add console.logs to both background and content scripts.
Background successfully produces console logs in background view, content does
not produce logs in debugger. Will keep attempting to add to content script.
> Web Extension Produces Duplicate Logs
> -------------------------------------
>
> Key: FLAGON-341
> URL: https://issues.apache.org/jira/browse/FLAGON-341
> Project: Flagon
> Issue Type: Bug
> Components: UserALE.js
> Affects Versions: UserALE.js 2.1.0
> Environment: Chrome 72
> Firefox 65
> javascript
> Reporter: Joshua Poore
> Assignee: Joshua Poore
> Priority: Major
> Fix For: UserALE.js 2.1.0
>
>
> 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).
> {code:java}
> {"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"},
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)