[Bug 227482] New: error message in add repo - advanced
https://bugzilla.novell.com/show_bug.cgi?id=227482 Summary: error message in add repo - advanced Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: adrian@novell.com I got some nice error messages in the web interface ;-) To reproduce, - go to a project page - add repository - advanced - enter "suse" in the textbox - press return Result: The error messages listed below expected result: a) error message "no such repo" or b) (better) show repos matching *suse* (or implement an AJAX-based search) Error Details: Errorcode: Message: Internal Server Error Exception from API: NoMethodError: undefined method `project' for #<ActiveXML::Node:0x2ab2fb941528> Stack Trace: /srv/www/opensuse/common/current/lib/activexml/node.rb:252:in `method_missing' /srv/www/opensuse/frontend/current/public/../config/../app/models/db_project.rb:147:in `store_axml' /srv/www/opensuse/common/current/lib/activexml/node.rb:224:in `method_missing' /usr/lib64/ruby/1.8/rexml/element.rb:939:in `each' /usr/lib64/ruby/1.8/rexml/xpath.rb:53:in `each' /usr/lib64/ruby/1.8/rexml/element.rb:939:in `each' /srv/www/opensuse/common/current/lib/activexml/node.rb:222:in `method_missing' /srv/www/opensuse/frontend/current/public/../config/../app/models/db_project.rb:146:in `store_axml' /srv/www/opensuse/common/current/lib/activexml/node.rb:224:in `method_missing' /usr/lib64/ruby/1.8/rexml/element.rb:939:in `each' /usr/lib64/ruby/1.8/rexml/xpath.rb:53:in `each' /usr/lib64/ruby/1.8/rexml/element.rb:939:in `each' /srv/www/opensuse/common/current/lib/activexml/node.rb:222:in `method_missing' /srv/www/opensuse/frontend/current/public/../config/../app/models/db_project.rb:130:in `store_axml' /usr/lib64/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction' /usr/lib64/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/transactions.rb:91:in `transaction' /srv/www/opensuse/frontend/current/public/../config/../app/models/db_project.rb:39:in `store_axml' /srv/www/opensuse/frontend/current/public/../config/../app/models/db_project.rb:17:in `store_axml' /usr/lib64/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction' /usr/lib64/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/transactions.rb:91:in `transaction' /srv/www/opensuse/frontend/current/public/../config/../app/models/db_project.rb:13:in `store_axml' /srv/www/opensuse/common/current/lib/activexml/transport.rb:227:in `save' /srv/www/opensuse/common/current/lib/activexml/base.rb:90:in `save' /srv/www/opensuse/frontend/current/public/../config/../app/controllers/source_controller.rb:246:in `project_meta' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:910:in `perform_action_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib64/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/rescue.rb:82:in `perform_action' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:381:in `process_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:377:in `process_without_session_management_support' /usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/session_management.rb:117:in `process' /usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher.rb:38:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:150:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:54:in `process!' /usr/lib64/ruby/1.8/fcgi.rb:612:in `each_cgi' /usr/lib64/ruby/1.8/fcgi.rb:609:in `each_cgi' /usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:53:in `process!' /usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:23:in `process!' /srv/www/opensuse/frontend/current/public/dispatch.fcgi:24 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227482 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |abauer@novell.com |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227482 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227482 ------- Comment #1 from suse-beta@cboltz.de 2007-02-20 16:35 MST ------- I just tried again - the error has changed to a success message :-/ Target '' was added successfully I now have a funny "suse" repo in home:cboltz. Let's see what happens... ;-) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227482 User suse-beta@cboltz.de added comment https://bugzilla.novell.com/show_bug.cgi?id=227482#c2 --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> 2008-11-08 09:53:49 MST --- This is still reproducable - with the result described in comment #1. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=227482 User abauer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=227482#c3 Andreas Bauer <abauer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|error message in add repo - advanced |prevent adding a repository without a target --- Comment #3 from Andreas Bauer <abauer@novell.com> 2008-11-10 04:59:47 MST --- The text box isn't the problem, it's the lack of selection from the repository list. Needs a check before submitting the form. -- 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.
participants (1)
-
bugzilla_noreply@novell.com