Skip to content

strange error with missing user id 1 on stageing

Kaspar Vollenweider requested to merge fix/strange_missing_user_1_bug into develop
  • The flaw with User.first was, that I couldn't be sure that its a superadmin
    • The User MUST have existed when the import ran.... but now it doesn't ???!
  • But User.where(role: 'superadmin').first is the solution that should have been there anyway
    • It was there once, but it may have gone lost in rebaseing or other back and forth while fullfilling review requirements

Story in Trello

Done?

Done for approval?

  • Acceptance criteria are met
  • Code quality checks are green
  • Readme updated if needed
  • Story under test
  • Mobile works
  • Seeds created
  • Translated
  • Code is reviewed

Done after the merge?

  • Deployed to staging after the merge
  • Tested manually on staging

Merge request reports