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

Fixing an infinite loop when discarding user changes #1068

Merged
merged 1 commit into from
Sep 26, 2019

Conversation

ryanrath
Copy link
Contributor

Description

  • There was a problem when the user settings ( User Type, Map To, Institution
    etc. ) were updated but the changes discarded. This was caused by these
    elements not being reset to their original values. That function has been
    added.
  • Tests have also been added so that we can be sure this behavior doesn't crop
    up again.

Motivation and Context

infinite loop bad

Tests performed

Manual Testing was performed along with the addition of automated tests to catch this problem in the future.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

- There was a problem when the user settings ( User Type, Map To, Institution
  etc. ) were updated but the changes discarded. This was caused by these
  elements not being reset to their original values. That function has been
  added.
- Tests have also been added so that we can be sure this behavior doesn't crop
  up again.
@jtpalmer jtpalmer added this to the 8.5.0 milestone Sep 26, 2019
@jtpalmer jtpalmer added bug Bugfixes Category:Internal Dashboard Internal Dashboard labels Sep 26, 2019
@ryanrath ryanrath merged commit 32d275f into ubccr:xdmod8.5 Sep 26, 2019
smgallo pushed a commit to smgallo/xdmod that referenced this pull request Oct 1, 2019
- There was a problem when the user settings ( User Type, Map To, Institution
  etc. ) were updated but the changes discarded. This was caused by these
  elements not being reset to their original values. That function has been
  added.
- Tests have also been added so that we can be sure this behavior doesn't crop
  up again.
smgallo added a commit that referenced this pull request Oct 1, 2019
* Bug fixes: Add mask and make chart name unique

* Refresh clears the search field

* Check for alternate timezone field (#1061)

* Data warehouse export tests and bug fix (#1063)

* Fix dry run behavior

* Add data warehouse export tests

* Add Usage Explorer Tests (#1062)

* Add Usage Tests for disabled Display Menu Items

* Document required file name extension (#1066)

* Fixing an infinite loop when discarding user changes (#1068)

* Replace previous year with year to date

* Ensure Jobs realm data access class provides required fields

* Force refresh dashboard tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Internal Dashboard Internal Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants