Test Note: Following the steps above while on beta, I was able to reproduce the current file attachment logic in DB whereby the files are being deleted from the ‘Filestore’ after a sync. as shown below:
After applying the PR, I was able to verify that after an incremental sync, any sent files are removed from IndexedDB File Store as show below:
Before Incremental Sync:
!clip-239c-d317.png!{height: 501px; width: 1000px;}
After Incremental Sync:
!clip-9660-acf7.png!{height: 498px; width: 1000px;}
Additional Note:
I created files while on Beta > Upversioned to the PR by doing an incremental sync > Navigated to application → indexedDB → FileStore
The files were not cleared.
As per developer, this scenario would require a Migration code.
Mingle Card: 6224 Steps to Reproduce
Expected Result
What should happen?
Actual Result
What actually happens?
Analysis
Related Cards
Impact Analysis
Developers: Fill in this area during code review.
Test Plan
Ensure when we do an incremental sync – that any sent files are removed from IndexedDB File Store
QA Test Analysis
Version tested: 4.0.1.pr3095
Username: godswillfield@test8.com
Password: Lastpass
URL: https://dev.fieldfx.com/dashboard/sync?reload=true
Mac/Chrome
iPad( IOS 12,11.4,10)
Samsung(Android 7.0)
Updated: Testing attachments when a NEW job/ticket created in Mobile https://lfw.testrail.io/index.php?/cases/view/4828
Test Note: Following the steps above while on beta, I was able to reproduce the current file attachment logic in DB whereby the files are being deleted from the ‘Filestore’ after a sync. as shown below:
!clip-4c48-53c3.png!{height: 459px; width: 1000px;}
After applying the PR, I was able to verify that after an incremental sync, any sent files are removed from IndexedDB File Store as show below:
Before Incremental Sync:
!clip-239c-d317.png!{height: 501px; width: 1000px;}
After Incremental Sync:
!clip-9660-acf7.png!{height: 498px; width: 1000px;}
Additional Note:
I created files while on Beta > Upversioned to the PR by doing an incremental sync > Navigated to application → indexedDB → FileStore
The files were not cleared.
As per developer, this scenario would require a Migration code.