Mailinglist Archive: opensuse-bugs (3926 mails)

< Previous Next >
[Bug 710197] New: [obs-webui] Branching a package easily goes to "OBS Web Interface Error" page if invalid input given
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 4 Aug 2011 04:29:15 +0000
  • Message-id: <bug-710197-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=710197

https://bugzilla.novell.com/show_bug.cgi?id=710197#c0


Summary: [obs-webui] Branching a package easily goes to "OBS
Web Interface Error" page if invalid input given
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: stoyan.dimkov@xxxxxxxxx
QAContact: adrian@xxxxxxxxxx
Found By: ---
Blocker: ---


Created an attachment (id=444002)
--> (http://bugzilla.novell.com/attachment.cgi?id=444002)
screenshot of package branching bug with invalid input

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML,
like Gecko) Chrome/13.0.782.109 Safari/535.1

The form for branching a project doesn't seem to validate inputs and therefore
when invalid input given (eg. empty fields/not-existing projects/packages) it
goes straight to "OBS Web Interface Error" page. The error details on the page
say - <error code: 404> and <message: unknown action> .
Screenshot added.

Reproducible: Always

Steps to Reproduce:
1. Open/Create a project.
2. Open the "Packages" tab.
3. Open link "Branch package from other project".
4. Enter any false data.
Actual Results:
A flash message appears as expected to tell that entered data was not accepted
but the content div is replaced with "OBS Web Interface Error".

Expected Results:
A flash message should appear to notify the user. The form with details for new
package branch should remain on screen, maybe the incorrect fields could get
cleaned from input.

Browser: any
Tested on: 1) https://build.opensuse.org
2) obs-server.x86_64-2.2.90-Build1.4-vmx.tar.bz2

--
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.

< Previous Next >