Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 09:54:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211991] www/gitlab: Error: undefined method `user_omniauth_authorize_path'
Message-ID:  <bug-211991-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211991

            Bug ID: 211991
           Summary: www/gitlab: Error: undefined method
                    `user_omniauth_authorize_path'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz@freebsd.org
          Reporter: vanav@vanav.org
          Assignee: tz@freebsd.org
             Flags: maintainer-feedback?(tz@freebsd.org)

After upgrade to v8.9.6 got fatal error:

Started GET "/users/sign_in" for 213.239.198.179 at 2016-08-19 12:49:45 +03=
00
Processing by SessionsController#new as */*
Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.4ms)

ActionView::Template::Error (undefined method `user_omniauth_authorize_path'
for #<#<Class:0x0000080d606f20>:0x0000081d16b4b0>):
    1: =3D form_tag(user_omniauth_authorize_path("crowd"), id: 'new_crowd_u=
ser' )
do
    2:   =3D text_field_tag :username, nil, {class: "form-control top",
placeholder: "Username", autofocus: "autofocus"}
    3:   =3D password_field_tag :password, nil, {class: "form-control botto=
m",
placeholder: "Password"}
    4:   - if devise_mapping.rememberable?
  app/views/devise/sessions/_new_crowd.html.haml:1:in
`_app_views_devise_sessions__new_crowd_html_haml__3245918192574132824_17258=
311080'
  app/views/devise/shared/_signin_box.html.haml:23:in
`_app_views_devise_shared__signin_box_html_haml___1717938267566868456_17293=
018760'
  app/views/devise/sessions/new.html.haml:4:in
`_app_views_devise_sessions_new_html_haml___1076747443708209319_17292267440'
  app/controllers/sessions_controller.rb:24:in `new'
  lib/gitlab/middleware/go.rb:16:in `call'

I think it may be related with rubygem-omniauth-* versions.

# pkg info|grep -i omni
rubygem-gitlab_omniauth-ldap-1.2.1 LDAP strategy for OmniAuth
rubygem-omniauth-1.3.1         Generalized Rack framework for multiple-prov=
ider
authentication
rubygem-omniauth-auth0-1.4.1   Authentication broker supporting different
identity providers
rubygem-omniauth-azure-oauth2-0.0.6 Azure OAuth2 Strategy for OmniAuth
rubygem-omniauth-bitbucket-0.0.2 OmniAuth strategy for Bitbucket
rubygem-omniauth-cas3-1.1.3    CAS 3.0 Strategy for OmniAuth
rubygem-omniauth-facebook-3.0.0 Facebook OAuth2 Strategy for OmniAuth
rubygem-omniauth-github-1.1.2  Official OmniAuth strategy for GitHub
rubygem-omniauth-gitlab-1.0.2  OmniAuth strategy for GitLab
rubygem-omniauth-google-oauth2-0.4.1 Google OAuth2 strategy for OmniAuth 1.x
rubygem-omniauth-oauth-1.1.0   Generic OAuth strategy for OmniAuth
rubygem-omniauth-oauth2-1.4.0  Abstract OAuth2 strategy for OmniAuth
rubygem-omniauth-saml-1.6.0    OmniAuth strategy for SAML
rubygem-omniauth-shibboleth-1.2.1 OmniAuth Shibboleth strategies for OmniAu=
th
1.x
rubygem-omniauth-twitter-1.2.1 OmniAuth strategy for Twitter
rubygem-omniauth_crowd-2.2.3   OmniAuth provider for Atlassian Crowds REST =
API

BTW, don't you think that current version binding is broken? rubygem-* ports
can update in any time, and it breaks gitlab. In practice, gitlab breaks af=
ter
every update of rubygem-* ports. I suggest to move to bundler for stability.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211991-13>