Actions
Bug #1369
closedAn ActionView::Template::Error occurred in admin#info:
Start date:
Due date:
% Done:
100%
Estimated time:
Affected Version:
Affected component:
Compatible Redmine Version:
Pull Request Link:
Description
An ActionView::Template::Error occurred in admin#info:
undefined method find' for nil:NilClass plugins/xmera_omnia_operations/app/models/release.rb:71:in
fetch_version'
Request:¶
- URL :
- HTTP Method: GET
- IP address :
- Parameters : {"controller"=>"admin", "action"=>"info"}
- Timestamp : 2022-12-11 13:30:08 +0100
- Server :
- Rails root :
- Process: 32267
Session:¶
- session id: [FILTERED]
- data: {"session_id"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"user_id"=>1,
"tk"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"sudo_timestamp"=>xxxxxxx,
"_csrf_token"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
Environment:¶
- HTTPS : on
- HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8
- HTTP_ACCEPT_ENCODING : gzip, deflate, br
- HTTP_ACCEPT_LANGUAGE : de,en-US;q=0.7,en;q=0.3
- HTTP_COOKIE : _xmera_omnia_session=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx42e25d7f12c6d11e81917db00ffd27f75e2095d6; cookieconsent_status=dismiss
- HTTP_DNT : 1
- HTTP_HOST : xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- HTTP_REFERER : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- HTTP_SEC_FETCH_DEST : document
- HTTP_SEC_FETCH_MODE : navigate
- HTTP_SEC_FETCH_SITE : same-origin
- HTTP_SEC_FETCH_USER : ?1
- HTTP_SEC_GPC : 1
- HTTP_UPGRADE_INSECURE_REQUESTS : 1
- HTTP_USER_AGENT : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- HTTP_VERSION : xxxxxxxxxxxxxxxxxxxxxxxx
- HTTP_X_ACCEL_INTERNAL : /xxxxxxxxxxxxxxxxxxxxxxxxxxxx
- HTTP_X_REAL_IP : xxxxxxxxxxxxxxxxxxxxxxx
- ORIGINAL_FULLPATH : /admin/info
- ORIGINAL_SCRIPT_NAME :
- PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY : 0
- PASSENGER_CONNECT_PASSWORD : [FILTERED]
- PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY : 0
- PATH_INFO : /admin/info
- QUERY_STRING :
- REMOTE_ADDR : xxxxxxxxxxxxxxxxxxxxxxxxxxxx
- REMOTE_PORT : xxxxxxx
- REQUEST_METHOD : GET
- REQUEST_URI : /admin/info
- ROUTES_55560_SCRIPT_NAME :
- SCRIPT_NAME :
- SCRIPT_URI : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- SCRIPT_URL : /admin/info
- SERVER_NAME : xxxxxxxxxxxxxxxxxxxxx
- SERVER_PORT : xxx
- SERVER_PROTOCOL : xxxx
- SERVER_SOFTWARE : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- UNIQUE_ID : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- action_controller.instance : #AdminController:0x000055a5b8954c38
- action_dispatch.authenticated_encrypted_cookie_salt : authenticated encrypted cookie
- action_dispatch.backtrace_cleaner : #Rails::BacktraceCleaner:0x000055a5b4e1dd68
- action_dispatch.content_security_policy : #ActionDispatch::ContentSecurityPolicy:0x000055a5b4dd9ff0
- action_dispatch.content_security_policy_nonce_generator:
- action_dispatch.content_security_policy_report_only : false
- action_dispatch.cookies : #ActionDispatch::Cookies::CookieJar:0x000055a5b8952b40
- action_dispatch.cookies_digest :
- action_dispatch.cookies_rotations : #ActiveSupport::Messages::RotationConfiguration:0x000055a5b0f8ba50
- action_dispatch.cookies_serializer :
- action_dispatch.encrypted_cookie_cipher :
- action_dispatch.encrypted_cookie_salt : encrypted cookie
- action_dispatch.encrypted_signed_cookie_salt : signed encrypted cookie
- action_dispatch.http_auth_salt : http authentication
- action_dispatch.key_generator : [FILTERED]
- action_dispatch.logger : #ActiveSupport::Logger:0x000055a5b20ece98
- action_dispatch.parameter_filter : [:password, :key]
- action_dispatch.redirect_filter : []
- action_dispatch.remote_ip : xxxxxxxxxxxxxxxxxxxxxxxxxxxx
- action_dispatch.request.content_type :
- action_dispatch.request.formats : [#<Mime::Type:0x000055a5b153f6b8 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=-xxxxxxxxxxxxxxxxxxxxxxxxxxx]
- action_dispatch.request.parameters : {"controller"=>"admin", "action"=>"info"}
- action_dispatch.request.path_parameters : {:controller=>"admin", :action=>"info"}
- action_dispatch.request.query_parameters : {}
- action_dispatch.request.request_parameters : {}
- action_dispatch.request.unsigned_session_cookie : {"session_id"=>"xxxxxxxxxxxxxxxxxxxxxxxx", "user_id"=>1, "tk"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "sudo_timestamp"=>xxxxxxxxxxxxxxxxxxxxx, "_csrf_token"=>"Gxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
- action_dispatch.request_id : d56c4641-cda2-4702-8877-bd205ae01f25
- action_dispatch.routes : #ActionDispatch::Routing::RouteSet:0x000055a5b1416048
- action_dispatch.secret_key_base : [FILTERED]
- action_dispatch.secret_token :
- action_dispatch.show_detailed_exceptions : false
- action_dispatch.show_exceptions : true
- action_dispatch.signed_cookie_digest :
- action_dispatch.signed_cookie_salt : signed cookie
- action_dispatch.use_authenticated_cookie_encryption : false
- rack.errors : #IO:0x000055a5afb07778
- rack.hijack : #<Proc:0x000055a5b8959210 /usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:94 (lambda)>
- rack.hijack? : true
- rack.input : #PhusionPassenger::Utils::TeeInput:0x000055a5b89592b0
- rack.multiprocess : true
- rack.multithread : false
- rack.request.cookie_hash : {"_xmera_omnia_session"=>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- rack.request.cookie_string : _xmera_omnia_session=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx42e25d7f12c6d11e81917db00ffd27f75e2095d6; cookieconsent_status=dismiss
- rack.request.query_hash : {}
- rack.request.query_string :
- rack.run_once : false
- rack.session : #ActionDispatch::Request::Session:0x000055a5b8956790
- rack.session.options : #ActionDispatch::Request::Session::Options:0x000055a5b8956740
- rack.tempfiles : []
- rack.url_scheme : https
- rack.version : xxxx
Backtrace:¶
plugins/xmera_omnia_operations/app/models/release.rb:71:in fetch_version' plugins/xmera_omnia_operations/app/models/release.rb:32:in
check'
app/compiled_views/admin/info.html.erb:26:in block in _app_compiled_views_admin_info_html_erb__421100904156516810_186120' app/compiled_views/admin/info.html.erb:23:in
_app_compiled_views_admin_info_html_erb__421100904156516810_186120'
lib/redmine/sudo_mode.rb:61:in sudo_mode' plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware.rb:56:in
call'
Actions