[DRE-maint] Bug#839143: obs-api: Click on patchinfo page in a project, got 404 error.

Andrew Lee (=?UTF-8?Q?=E6=9D=8E=E5=81=A5=E7=A7=8B?=) ajqlee at debian.org
Thu Sep 29 12:10:13 UTC 2016


Package: obs-api
Version: 2.7.1-1
Severity: important

This is a known bug. I need help hands to fix this.

The pathinfo page does not work with ruby-* package, but works
with pure ruby 'gem install'.

To reproduce the error, follow these steps:

 1. On Debian Sid, add the following repo to apt's sources.list:
    deb http://ftp.tw.debian.org/debian/ experimental main
 2. Install OBS:
    apt-get update
    apt-get install obs-server obs-utils obs-api obs-productconverter
 3. Log in through the web UI on port 443, username/password are
    Admin/opensuse.
 4. Create a new home project.
 5. Click on Create patchinfo page.

This should produce the error 404 Not Found.

There is a log in apache_access_log:
    192.168.56.1 - - [29/Sep/2016:20:04:56 +0800] "GET /patchinfo/css/bootstrap.min.css HTTP/1.1" 404 4289

The css file can be located at /usr/share/obs/api/public/css/bootstrap.min.css
on the filesystem.

Best regards,
-Andrew



More information about the Pkg-ruby-extras-maintainers mailing list