[Bug 766119] New: OBS fails to expand _link in branched project if source project has sourceaccess disabled
https://bugzilla.novell.com/show_bug.cgi?id=766119 https://bugzilla.novell.com/show_bug.cgi?id=766119#c0 Summary: OBS fails to expand _link in branched project if source project has sourceaccess disabled Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: i586 OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: shahin.ghazinouri@pelagicore.com QAContact: adrian@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5 bs_srcserver checks source access if the link contains no package name, but branched packages leave the package name empty unless it is different from the source package. Reproducible: Always Steps to Reproduce: 1. Create a branched package from a package in a project with sourceaccess disabled 2. Go to the newly created branched package's source in the webui Actual Results: Observe error: "_link is bad: 403 source access denied" Expected Results: No error -- 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=766119 https://bugzilla.novell.com/show_bug.cgi?id=766119#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |adrian@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=766119 https://bugzilla.novell.com/show_bug.cgi?id=766119#c Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|BuildService |backend Version|unspecified |2.3 AssignedTo|adrian@suse.com |mls@suse.com Product|openSUSE.org |openSUSE Build Service -- 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=766119 https://bugzilla.novell.com/show_bug.cgi?id=766119#c1 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@suse.com |adrian@suse.com --- Comment #1 from Michael Schröder <mls@suse.com> 2012-06-11 14:08:35 UTC --- Needs to be fixed in osc. -- 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=766119 https://bugzilla.novell.com/show_bug.cgi?id=766119#c2 --- Comment #2 from Shahin Ghazinouri <shahin.ghazinouri@pelagicore.com> 2012-06-11 14:11:06 UTC --- Also happens when branching using webui, not just with osc. -- 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=766119 https://bugzilla.novell.com/show_bug.cgi?id=766119#c3 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@suse.com |mls@suse.com --- Comment #3 from Adrian Schröter <adrian@suse.com> 2012-06-11 15:49:56 UTC --- Michael, the source access check is pure backend. Also the _link file is created by the backend when doing the cmd=branch. But I will create a test case to verify this behaviour. -- 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=766119 https://bugzilla.novell.com/show_bug.cgi?id=766119#c4 --- Comment #4 from Michael Schröder <mls@suse.com> 2012-06-11 16:16:25 UTC --- Oh, I was thinking of "osc linkpac", which needs fixing. I just fixed the "osc branch" part with commit #51ff5a0 -- 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