Skip to content
Snippets Groups Projects

Remove broken login method

Merged Tilmann Becker requested to merge remove-broken-login-popup into master
All threads resolved!

Closes https://sentry.io/foodsaving-worldwide/foodsharingde-production/issues/613674312

What does this MR do?

Removes broken login method LoginXhr->login() and dependent code.

It was broken in !403 (merged) as LoginView->loginForm was removed.

It's unclear to me where the login() method was ever called from. The only occurrence is in a return value from the ProfileXhr constructor, but constructor return values aren't used anywhere. So it remains a mystery where https://sentry.io/foodsaving-worldwide/foodsharingde-production/issues/613674312 comes from.

How confident are you it won't break things if deployed?

It was already broken, can only get better.

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Chris Oelmueller

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Peter Tönnies
  • @k.miklobusec there is a possibility that the app is calling this method from here: https://gitlab.com/foodsharing-dev/foodsharing-android/blob/master/www/js/user.js#L112

    But I could not trigger this error from within my app. Strange.

  • assigned to @tiltec

  • Fairteiler and foodbasket had the possibility to trigger login xhr in the past...

  • Matthias Larisch approved this merge request

    approved this merge request

  • Matthias Larisch resolved all discussions

    resolved all discussions

  • Matthias Larisch added 90 commits

    added 90 commits

    Compare with previous version

  • I enabled seeing Referer in sentry - it came from the baskets page that shows a login button in production (already removed in master)

  • Chris Oelmueller changed the description

    changed the description

  • changed milestone to %August 2018

  • Please register or sign in to reply
    Loading