[Bug 730308] New: Repository view error caused by failed XML validation
https://bugzilla.novell.com/show_bug.cgi?id=730308 https://bugzilla.novell.com/show_bug.cgi?id=730308#c0 Summary: Repository view error caused by failed XML validation Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mikhail.zabaluev@gmail.com QAContact: adrian@suse.com Found By: Community User Blocker: Yes I set up a private OBS installation of version 2.2.96 from openSUSE:Tools:Unstable. I added the openSUSE.org access project. In my home project, have added a repository element to the project XML: <repository name="openSUSE_Factory"> <path project="openSUSE.org:openSUSE:Factory" repository="snapshot"/> <arch>i586</arch> </repository> After setting the project meta data, I get an error trying to look at the repositories view for the project: OBS Web Interface Error: Error Details: Errorcode: validation_failed Message: response validation error: Element lock has extra content: disable Accordingly to /srv/www/obs/api/public/schemas, it seems that an XML response is expected to use this syntax for the lock element: <lock><disable/></lock>. Instead something probably gives <lock>disable</lock> (I think I understand why: the format of "simple-flag-element" is a bit of XML overload. Something like a lock attribute on the parent element, or <lock state="on"/>, or just <lock/> or absence of the element, would serve as a lock flag just fine). -- 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=730308 https://bugzilla.novell.com/show_bug.cgi?id=730308#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.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=730308 https://bugzilla.novell.com/show_bug.cgi?id=730308#c1 Sascha Peilicke <speilicke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|speilicke@suse.com |adrian@suse.com --- Comment #1 from Sascha Peilicke <speilicke@suse.com> 2011-11-15 08:48:03 UTC --- Seems to be yours -- 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=730308 https://bugzilla.novell.com/show_bug.cgi?id=730308#c2 Sascha Peilicke <speilicke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |speilicke@suse.com Resolution| |FIXED --- Comment #2 from Sascha Peilicke <speilicke@suse.com> 2011-11-18 11:35:21 UTC --- Was fixed. -- 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=730308 https://bugzilla.novell.com/show_bug.cgi?id=730308#c3 Mikhail Zabaluev <mikhail.zabaluev@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #3 from Mikhail Zabaluev <mikhail.zabaluev@gmail.com> 2011-11-23 18:41:11 UTC --- Works with obs-api 2.2.98. Thank you. -- 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