https://bugzilla.novell.com/show_bug.cgi?id=660756 https://bugzilla.novell.com/show_bug.cgi?id=660756#c0 Summary: Non-administrative users are not able to list the public projects Classification: Internal Novell Products Product: openSUSE Build Service Version: master Platform: 64bit OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: General AssignedTo: adrian@novell.com ReportedBy: ext-senthil.muthukalai@nokia.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3 I upgraded OBS to the latest Beta 2 version. Reproducible: Always Steps to Reproduce: 1. Create some open projects and hidden projects 2. Login to OBS as any user who has user/maintainer/reviewer/reader/downloader/bugowner 3. Click on the 'List of projects' Actual Results: OBS Web Interface Error: Error Details: Errorcode: unknown Message: <?xml version="1.0" encoding="UTF-8"?> <status code="unknown"> <summary>uncaught exception: undefined local variable or Exception from Webclient: ActiveXML::Transport::Error: <?xml version="1.0" encoding="UTF-8"?> <status code="unknown"> <summary>uncaught exception: undefined local variable or method `group' for #<Class:0x7f5e32b0f558></summary> <details></details> </status> Stack Trace: /srv/www/obs/webui/lib/common/activexml/transport.rb:545:in `handle_response' /srv/www/obs/webui/lib/common/activexml/transport.rb:527:in `http_do' /srv/www/obs/webui/lib/common/activexml/transport.rb:326:in `find' /srv/www/obs/webui/lib/common/activexml/base.rb:103:in `find_priv' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/cache.rb:162:in `fetch' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib64/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/cache.rb:162:in `fetch' /srv/www/obs/webui/lib/common/activexml/base.rb:102:in `find_priv' /srv/www/obs/webui/lib/common/activexml/base.rb:133:in `find_cached' /srv/www/obs/webui/app/controllers/application_controller.rb:246:in `find_cached' /srv/www/obs/webui/app/controllers/project_controller.rb:92:in `get_filtered_projectlist' /srv/www/obs/webui/app/controllers/project_controller.rb:46:in `list' /srv/www/obs/webui/app/controllers/project_controller.rb:39:in `list_public' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `perform_action_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib64/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in `_call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130 /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/abstract_store.rb:128:in `call' /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in `call' /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in `cache' /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:in `call' /usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/cache/strategy/local_cache.rb:25:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:in `call' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:106:in `call' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/fastcgi.rb:57:in `serve' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:103:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:153:in `with_signal_handler' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:101:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:78:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:77:in `each' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:76:in `catch' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:51:in `process!' /usr/lib64/ruby/gems/1.8/gems/rails-2.3.8/lib/fcgi_handler.rb:23:in `process!' /srv/www/obs/webui/public/dispatch.fcgi:24 Expected Results: As per the permissions the projects should be displayed Administrative users can view all the projects. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.