rgsoc-teams icon indicating copy to clipboard operation
rgsoc-teams copied to clipboard

Weird things on staging

Open emcoding opened this issue 8 years ago • 6 comments

#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)

emcoding avatar Jan 14 '17 14:01 emcoding

@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.

carpodaster avatar Feb 02 '17 08:02 carpodaster

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.

alicetragedy avatar Feb 06 '17 12:02 alicetragedy

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 :/

mkalininait avatar Feb 10 '17 13:02 mkalininait

@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?

emcoding avatar May 18 '17 08:05 emcoding

@F3PiX I believe there had been one or two fresh imports, but I've never tried to reproduce this bug after that.

carpodaster avatar May 22 '17 06:05 carpodaster

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.

emcoding avatar May 22 '17 08:05 emcoding