Skip to content

Conversation

@adampalay
Copy link
Contributor

@symbolist , sometime in the django upgrade, UserStanding was changed from a ForeignKey to a one to one field. Unfortunately there was no test that checked if the main page even ever loaded :)

@Qubad786 , may you please take a quick look?

Steps to reproduce the error:

  1. run LMS
  2. go to http://localhost:8000/accounts/manage_user_standing
  3. disable someone's account
  4. Reload page

expected behavior: no 500 error
actual behavior: 500 error

@Qubad786
Copy link
Contributor

Qubad786 commented Jan 7, 2016

I was able to reproduce, seems like it. Why was this ForeignKey before? OneToOne seems better. Nice catch!

@Qubad786 Qubad786 closed this Jan 7, 2016
@Qubad786 Qubad786 reopened this Jan 7, 2016
@Qubad786
Copy link
Contributor

Qubad786 commented Jan 7, 2016

I am really sorry just wrongly clicked 'Close and comment' instead of 'Comment' which will now cost rerunning all the tests again.

@Qubad786
Copy link
Contributor

Qubad786 commented Jan 7, 2016

jenkins run python

@Qubad786
Copy link
Contributor

Qubad786 commented Jan 7, 2016

jenkins run bokchoy

@adampalay
Copy link
Contributor Author

@Qubad786 probably because the original author had no idea what they were doing

@adampalay
Copy link
Contributor Author

@Qubad786 , thumbs up?
@symbolist ?

@Qubad786
Copy link
Contributor

Qubad786 commented Jan 8, 2016

👍

1 similar comment
@symbolist
Copy link
Contributor

👍

adampalay added a commit that referenced this pull request Jan 8, 2016
@adampalay adampalay merged commit e892597 into master Jan 8, 2016
@adampalay adampalay deleted the adam/fix-userstanding-page branch January 8, 2016 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants