[Bug 712184] New: [obs-webui] Adding project user/group roles goes to "OBS Web Interface Error" page after invalid or empty input
https://bugzilla.novell.com/show_bug.cgi?id=712184 https://bugzilla.novell.com/show_bug.cgi?id=712184#c0 Summary: [obs-webui] Adding project user/group roles goes to "OBS Web Interface Error" page after invalid or empty input Classification: openSUSE 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: stoyan.dimkov@gmail.com QAContact: adrian@novell.com Found By: --- Blocker: --- Created an attachment (id=445730) --> (http://bugzilla.novell.com/attachment.cgi?id=445730) A screenshot of the adding users bug. (1) User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.35 Safari/535.1 Adding new user/group roles and entering invalid input can result in an "OBS Web Interface Error" page. This happens on two occasions: First - leaving the user field blank (screenshot 1), And second - entering any string that contains "?". Interestingly the same user form but for packages handles the above two scenarios just fine. Screenshots attached. Reproducible: Always Steps to Reproduce: 1. Create/Open a project. 2. Open Users tab. 3. Open link "Add user". 4. Enter the invalid data. 4.a Leave the field blank. 4.b Enter any name containing "?". Actual Results: Browser is redirected to "OBS Web Interface Error". if followed 4.a page shows "Message: Error: User '' not found." if followed 4.b page shows "Message: bad component(expected absolute path component): /person/<the-invalid-input-you-entered>" Expected Results: A flash message should inform the user for the invalid input. The form for adding sources should remain. Maybe the fields can get cleaned from the invalid data. -- 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=712184 https://bugzilla.novell.com/show_bug.cgi?id=712184#c1 --- Comment #1 from Stoyan Dimkov <stoyan.dimkov@gmail.com> 2011-08-14 07:10:55 UTC --- Created an attachment (id=445731) --> (http://bugzilla.novell.com/attachment.cgi?id=445731) A screenshot of the adding users bug. (2) Also attaching screenshot 2. -- 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=712184 https://bugzilla.novell.com/show_bug.cgi?id=712184#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |speilicke@suse.com |ovo.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.
https://bugzilla.novell.com/show_bug.cgi?id=712184 https://bugzilla.novell.com/show_bug.cgi?id=712184#c2 Sascha Peilicke <speilicke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Sascha Peilicke <speilicke@suse.com> 2011-08-15 10:22:56 UTC --- Fixed with git commit f86cae8 (both master and 2.3 branch) -- 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