Duplicate and Invalid events are generated for a single user action
Categories
(Firefox Enterprise :: Client, defect, P1)
Tracking
(Not tracked)
People
(Reporter: sbadau, Assigned: jmendez)
References
(Blocks 1 open bug)
Details
(Whiteboard: [size=1])
Attachments
(2 files)
Found in
Affected versions
Tested platforms
- Affected platforms: Windows 11, macOS 26, Ubuntu 24.04
Preconditions
- Firefox Enterprise is installed and user is logged with valid credentials.
- A Company admin is logged into the Console.
Steps to reproduce
- In Firefox Enterprise - download any file.
- In the Console - go to the Event reports section and check the created event.
Expected result
- A single event corresponding to the download action should be generated in the Event reports section.
Actual result
- Two events are created for the download action - one of the events appears as Invalid.
- Not sure if the duplication and the Invalid event are related — please advise if a separate bug should be filed for that.
Regression range
- First bad: not a regression.
Additional notes
- Duplicate events: "Blocklist domain browsed" - are created also when accessing a blocked website.
Comment 1•2 months ago
|
||
Thanks for the bug!
I believe this is a console backend or felt problem.
| Reporter | ||
Comment 2•1 month ago
|
||
For downloads, event are still duplicated - both a “Download attempt” and a “File downloaded” event are recorded.
Updated•1 month ago
|
The download attempt and file downloaded are intentionally-implemented separate events (if a download fails, the 'attempt' still appears). But is this the right behavior or should we only get one of the events (I would guess the "attempt" is the one that stays?).
Comment 4•24 days ago
|
||
Spoke with gcp. The two download events are separate events with valid reasons to both exist. So based on the screenshot that is working as intended.
The duplicate "Blocklist domain browsed" events are a defect which is being addressed.
Comment 6•22 days ago
|
||
Authored by https://github.com/jonathanmendez
https://github.com/mozilla/enterprise-firefox/commit/cdbb8908693c69a03331f6d058d6ce73e16b3743
[enterprise-main] Bug 2005507 - Add cache to check recently blocked URLs and avoid duplicate event
Authored by https://github.com/jonathanmendez
https://github.com/mozilla/enterprise-firefox/commit/4687367969ba93292225aeb86fae77679cec7e0b
[enterprise-main] Merge pull request #416 from mozilla/jmendez/dedup-event
| Reporter | ||
Comment 7•8 days ago
|
||
Verified as fixed in Firefox Enterprise 149.0a1 (Build ID: 20260221191449) - tested on Windows 11, Ubuntu 24.04 and macOS 15. No more duplicates are created for “Blocklist domain browsed.” For Downloads, even if two events appear, one is Download attempt and the other File downloaded, which is expected as described in Comment 5.
Description
•