New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 500 showing some project pages related to remote-linked OBS instance #1149
Comments
most likely a one liner check in app/models/project.rb:1058, but a test case is needed as well |
and why didn't the spider test found this? |
Fix for the second problem is s/@project.value('remoteurl')/@project.remoteurl/g in /srv/www/obs/api/app/views/webui/project/show.html.erb. |
As for the first one, inserting |
The @project.value('remoteurl') method no longer exists, use the .remoteurl field instead. (equivalent changes for .name in 8b4d426) Avoids an Error 500 page and thereby resolves part of issue openSUSE#1149. Signed-off-by: Andreas Färber <afaerber@suse.de>
The first issue seems resolved now, too. Thanks. |
My /srv/www/obs/api/log/production.log has these details on the error:
Before updating, this showed a page with just two local packages in the main area and all inherited plus local packages in the status box to the right.
Its local parent project openSUSE:Factory (which has no local packages and links to openSUSE.org:openSUSE:Factory) shows as before, with no package in the main area and inherited package count in the status box to the right.
A new local test project without and with a test package shows fine, too.
Accessing the monitor page of the error'ing project works just fine and lists all, e.g., unresolvable inherited packages.
If I access the linking project openSUSE.org, it shows an Error 500, too:
Possibly related is that on that project page it previously unexpectedly did not display the snippet visible in the error stack trace.
Seems like handling of linked OBS instances broke?
I doubt that my mime-types package version has anything to do with this, but I'm gonna check tonight just in case.
The text was updated successfully, but these errors were encountered: