githubbob42 / mingle2github2

0 stars 1 forks source link

Deleting ticket logs causes indexedDB errors #5783

Closed githubbob42 closed 5 years ago

githubbob42 commented 5 years ago

Mingle Card: 6149 Steps to Reproduce

| | |
|-|-|
|**Version #**|4269|
|**Hardware**| |
|**OS**| |
|**Browser**| |
|**Username**| |
|**Password**|Use LastPass|
|ORG ID| |
|User ID| |
|RayGun Error ID| |
  1. Run ‘Ticket Log’ selenium test with devtools open

Expected Result

No indexeddb errors

Actual Result

IndexedDB errors are thrown whenever we delete ticket logs and incremental sync

Analysis

Ticket log delete events are in an invalid payload shape. If there are rollups that use ticket log, additional errors are thrown because of this.

Replay during incremental sync also throws errors because there are stray event listeners on the ticket log list

Related Cards

Impact Analysis

Ticket Logs

Ticket Log rollups

Test Plan

run ‘Ticket Log’ selenium test with devtools open

- verify no indexedDB errors are thrown for the entire test

githubbob42 commented 5 years ago

Pull Request #3025