
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.