[Bug 253261] New: target can be disabled multiple times - and it's impossible to re-enable it
https://bugzilla.novell.com/show_bug.cgi?id=253261 Summary: target can be disabled multiple times - and it's impossible to re-enable it Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: abauer@novell.com ReportedBy: suse-beta@cboltz.de QAContact: adrian@novell.com I found that a build target of a package can be disabled multiple times (multiple <disable> lines in metadata) - and it's impossible to re-enable it. How to reproduce: - go to build service web interface, go to your home project - create a new package (I named it "disable-bug") - middle-click (to open a new tab in background) a target (for example "openSUSE_10.2") to disable it - middle-click the same target again _without reloading the page_ You should now have _two_ browser tabs with the message Disabled building of package 'disable-bug' in project 'home:cboltz' for repo 'openSUSE_10.2'. - reload the package page - click "advanced disable" You'll find <disable repository='openSUSE_10.2'/> <disable repository='openSUSE_10.2'/> - remove these lines from the textbox, click "save changes" Result: It's impossible to get rid of these lines (tested with web interface and osc editmeta). You even get more of them after saving :-/ -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253261 dmayr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from dmayr@novell.com 2007-03-12 11:14 MST ------- fixed in svn rev. 1426. webclient now checks if it's already disabled. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253261 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #2 from suse-beta@cboltz.de 2007-04-01 17:57 MST ------- VERIFIED the webclient behaviour (it detects double disabling now) - which fixes the main problem. Nevertheless I'm reopening the bug because you can still create duplicate <disable> tags using the "advanced disable" field or "osc editmeta". -> The backend should filter out duplicate <disable> lines. (Reducing severity because you can now at least re-enable building, even if it needs a click per (duplicate) <disable> line in the webclient.) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253261 abauer@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmayr@novell.com |abauer@novell.com Status|REOPENED |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253261 abauer@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #3 from abauer@novell.com 2007-04-11 05:58 MST ------- fixed in svn rev 1568 and on api.o.o also all duplicates were deleted from the database -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253261 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED ------- Comment #4 from suse-beta@cboltz.de 2007-04-12 15:48 MST ------- The web interface says "Error saving your input (invalid XML?).". Perfect. osc editmeta says "Internal Server Error" without any details - not that nice, but also OK. -> VERIFIED, thanks for fixing! -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com