rgsoc-teams
rgsoc-teams copied to clipboard
Weird things on staging
#605 revealed unexpected behaviour in the rgsoc-teams-staging.
- The application form was pre-filled with my info from last year.
- Carsten reported an error
ActiveRecord::RecordInvalid: Validation failed: Github handle has already been taken
. Looks like data is persisting that is not supposed to be.
Needs: researching the things :trollface: that are haunting the staging app.
Before that: Let's take inventory of other unexpected behaviour in the staging app. Please add here:
- [ ] Prefilled info in application form (Maud)
- [ ] Validation error with GitHub (Carsten)
@F3PiX I'm thinking of importing a fresh production DB dump to staging just to see if the error was not due to some messing around with existing teams.
I'm getting this super weird 500 on staging when I access the Mentor Dashboard. The weird thing is that I can access it once, but if I navigate away from it and then click on the “mentor dashboard” in the navigation again, I get that error.
Other info which might be relevant:
- I access the dashboard as a mentor
- Clicking on the application I see in my dashboard also fails
The error can be found in Rollbar, filed under item 45 and 46.
When I make a status update (daily log), it also assigns to my last year's team. Writing it here just in case all these things are related; will write the same in #621.
PS: it looks like there might be more bugs of that sort, when things are being applied to last year's object :/
@carpodaster Did you ever tried the db dump? https://github.com/rails-girls-summer-of-code/rgsoc-teams/issues/611#issuecomment-276898963 And/or: Can we make this issue actionable?
@F3PiX I believe there had been one or two fresh imports, but I've never tried to reproduce this bug after that.
I tried to check my application form, but I can't even log in in the staging app (nor in the teams app). https://rgsoc-teams-staging.herokuapp.com I get a 422 at GitHub auth/login path.