Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncheck Job AltSync - Sync - Job remains in Mobile #4422

Closed
githubbob42 opened this issue Jan 16, 2017 · 2 comments
Closed

Uncheck Job AltSync - Sync - Job remains in Mobile #4422

githubbob42 opened this issue Jan 16, 2017 · 2 comments

Comments

@githubbob42
Copy link
Owner

Mingle Card: 4760
Steps to Reproduce

| | |
|-|-|
|**Version #**|4.0.1.3560 (Sync V4 Beta)|
|**Hardware**|Surface Pro 3 | iPad Pro | iPad Air 2|
|**OS**|Windows 10 Pro | iOS 10.2 | iOS 10.2|
|**Browser**|Chrome 55.0.2883.87 m (64-bit) | Safari | Safari|
|**Admin User**|qaadmin@test4.com / computer45|
|**Field User**|qafield@test4.com / computer45|
|ORG ID| |
|User ID| |
|RayGun Error ID| |
  
 

  1. Log in to FieldFX Back Office and set the ‘Expired PB’ Job Status to ‘In Progress’.  Refresh the window and notice the Sync and AltSync fields are checked.
  2. Open a new Incognito window and log in to FieldFX Mobile with the ‘QA Field’ user.
  3. Click ‘Jobs’ and notice the ‘Expired PB’ Job is visible in the Job list with a status of ‘In Progress’.
  4. Switch back to the Back Office window and set the ‘Expired PB’ Job Status to ‘Job Completed in Field’.  Refresh the window and notice the Sync and AltSync fields are now unchecked.
  5. Switch to the Incognito Mobile window and perform a sync.
  6. Click ‘Jobs’.

Expected Result

  • The ‘Expired PB’ Job should have been removed from the Jobs list.

Actual Result

  • The ‘Expired PB’ Job is still visible in the Jobs list with the status of ‘In Progress’.

Analysis

  • QA
    • This was also tested in Production against the current Sync V4 Beta (4.0.1.3545) and the issue doesn’t occur.
    • This was also reproduced in Natasha’s org.
    • No errors in the console
    • Workaround: Log out and then log back in again – the Job is now gone.

This was caused by PR #2198.  The sync is no longer saving the last sync Date on the initial sync.   And so it is pulling down the full list of jobs every time the user syncs.

Related Cards

Test Plan

Selenium > consoleTrigger.js > Test 1. Verify that job in non syncable status does not sync (#4760)

@githubbob42
Copy link
Owner Author

Pull Request #2214

@githubbob42
Copy link
Owner Author

Matthew Todd : 01/16/2017 15:34 CST
Test Result: Passed PR Build: 4.0.1.pr2214 Admin User: qaadmin@test4.com Field User: qafield@test4.com Hardware: iPad Air 2 | Surface Pro 3 OS: iOS 10.2 | Windows 10 Pro Browser: Safari | Chrome 55.0.2883.87 m (64-bit) URL: https://hunterpeak.herokuapp.com Test Case: 4670 Reproduction Steps Test Notes: When a Job has the Alt Sync field unchecked, the status is now updated and it's removed from Mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant