Skip to content

249/bugfix_back_button_missed_question: fixed the back button issue #253

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

toaderandrei
Copy link

  • Fixed problem when back button was not saving properly the answers.
    There were two issues here, one, it could be the save answers did not
    finish before syncData and two, updateAnsweredQuestion was not doing
    anything as there was no emitter call at the end. This was fixed by
    chaining the rxjava call under one Schedulers.io and also, by chaining
    saveAnswers and syncData.
  • Added more logs.
  • Incorporated changes from Add checks for empty answers list to sync #252.

Requirements for making a pull request

Thank you for contributing to our project!

Please fill out the template below to help the project maintainers review it as fast as possible and include your contribution to the project.

What does it fix?

Closes

Please mention the main changes this PR brings.

How has it been tested?

Please describe the tests that you ran to verify your changes.

* Fixed problem when back button was not saving properly the answers.
There were two issues here, one, it could be the save answers did not
finish before syncData and two, updateAnsweredQuestion was not doing
anything as there was no emitter call at the end. This was fixed by
chaining the rxjava call under one Schedulers.io and also, by chaining
saveAnswers and syncData.
* Added more logs.
* Incorporated changes from code4romania#252.
@toaderandrei toaderandrei force-pushed the 249/bugfix_back_button_missed_question branch from 0e2e11d to 178edad Compare November 30, 2020 08:24
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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

Successfully merging this pull request may close these issues.

2 participants