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.