[Bug 250613] New: OBS WebClient: Package title is not quoted
https://bugzilla.novell.com/show_bug.cgi?id=250613 Summary: OBS WebClient: Package title is not quoted Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: abauer@novell.com ReportedBy: prusnak@novell.com QAContact: adrian@novell.com When I try to set " in package title through webclient I get an exception. Package description, project title and description work OK. Setting and getting package titles through OSC works also fine. (When I set title with OSC and then show project details in webclient, it also fails). Steps to reproduce: 1) create package in OBS 2) set its title to 'test " test' 3) webclient will throw exception: OpenSUSE Webclient Error: Error Details: Errorcode: 500 Message: #<REXML::ParseException: malformed XML: missing tag start Line: Position: Last 80 unconsumed characters: <tags title="test " test" package="test" user="" project="home:prusnak"> </tags> > /usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:334:in `pull' /usr/lib64/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse' /usr/lib64/ruby/1.8/rexml/document.rb:178:in `build' /usr/lib64/ruby/1.8/rexml/document.rb:45:in `initialize' /srv/www/opensuse/common/current/lib/activexml/node.rb:110:in `raw_data=' /srv/www/opensuse/common/current/lib/activexml/node.rb:91:in `initialize' /srv/www/opensuse/common/current/lib/activexml/base.rb:75:in `initialize' /srv/www/opensuse/common/current/lib/activexml/transport.rb:335:in `find' /srv/www/opensuse/common/current/lib/activexml/base.rb:69:in `find' /srv/www/opensuse/webclient/current/public/../config/../app/controllers/package_controller.rb:107:in `get_tags' /srv/www/opensuse/webclient/current/public/../config/../app/controllers/package_controller.rb:100:in `show' /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/webclient/current/public/dispatch.fcgi:24 ... malformed XML: missing tag start Line: Position: Last 80 unconsumed characters: <tags title="test " test" package="test" user="" project="home:prusnak"> </tags> Line: Position: Last 80 unconsumed characters: <tags title="test " test" package="test" user="" project="home:prusnak"> </tags> Exception from Webclient: REXML::ParseException: #<REXML::ParseException: malformed XML: missing tag start Line: Position: Last 80 unconsumed characters: <tags title="test " test" package="test" user="" project="home:prusnak"> </tags> > /usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:334:in `pull' /usr/lib64/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse' /usr/lib64/ruby/1.8/rexml/document.rb:178:in `build' /usr/lib64/ruby/1.8/rexml/document.rb:45:in `initialize' /srv/www/opensuse/common/current/lib/activexml/node.rb:110:in `raw_data=' /srv/www/opensuse/common/current/lib/activexml/node.rb:91:in `initialize' /srv/www/opensuse/common/current/lib/activexml/base.rb:75:in `initialize' /srv/www/opensuse/common/current/lib/activexml/transport.rb:335:in `find' /srv/www/opensuse/common/current/lib/activexml/base.rb:69:in `find' /srv/www/opensuse/webclient/current/public/../config/../app/controllers/package_controller.rb:107:in `get_tags' /srv/www/opensuse/webclient/current/public/../config/../app/controllers/package_controller.rb:100:in `show' /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/webclient/current/public/dispatch.fcgi:24 ... malformed XML: missing tag start Line: Position: Last 80 unconsumed characters: <tags title="test " test" package="test" user="" project="home:prusnak"> </tags> Line: Position: Last 80 unconsumed characters: <tags title="test " test" package="test" user="" project="home:prusnak"> </tags> Stack Trace: /usr/lib64/ruby/1.8/rexml/parsers/treeparser.rb:85:in `parse' /usr/lib64/ruby/1.8/rexml/document.rb:178:in `build' /usr/lib64/ruby/1.8/rexml/document.rb:45:in `initialize' /srv/www/opensuse/common/current/lib/activexml/node.rb:110:in `raw_data=' /srv/www/opensuse/common/current/lib/activexml/node.rb:91:in `initialize' /srv/www/opensuse/common/current/lib/activexml/base.rb:75:in `initialize' /srv/www/opensuse/common/current/lib/activexml/transport.rb:335:in `find' /srv/www/opensuse/common/current/lib/activexml/base.rb:69:in `find' /srv/www/opensuse/webclient/current/public/../config/../app/controllers/package_controller.rb:107:in `get_tags' /srv/www/opensuse/webclient/current/public/../config/../app/controllers/package_controller.rb:100:in `show' /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/webclient/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=250613 abauer@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|abauer@novell.com |tscholz@novell.com ------- Comment #1 from abauer@novell.com 2007-03-02 08:18 MST -------
Position: Last 80 unconsumed characters: <tags title="test " test"
Thomas, this is somewhere in the tagging code. Could you have a look at it please? -- 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=250613 tscholz@suse.de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tscholz@novell.com |tscholz@suse.de Status|NEW |ASSIGNED -- 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=250613 tscholz@suse.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #2 from tscholz@suse.de 2007-03-12 04:03 MST ------- fixed in rev. 1393 -- 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=250613 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- 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