Uploaded image for project: 'Olio'
  1. Olio
  2. OLIO-82

Profile page doesn't show if user is logged in

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.1
    • rails-app
    • None

    Description

      If a user is logged in and accesses his profile page at http://<host>/users/<id>, the page doesn't show and the application log has the following error :

      NoMethodError (undefined method `outgoing_invite_ids' for nil:NilClass):
      app/controllers/users_controller.rb:210:in `invites_for_friend_links'
      app/controllers/users_controller.rb:42:in `show'
      thin (1.0.0) lib/thin/connection.rb:63:in `pre_process'
      thin (1.0.0) lib/thin/connection.rb:54:in `process'
      thin (1.0.0) lib/thin/connection.rb:39:in `receive_data'
      eventmachine (0.12.6) lib/eventmachine.rb:1283:in `event_callback'

      Attachments

        Activity

          People

            shanti Shanti Subramanyam
            shanti Shanti Subramanyam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: