Skip to content
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

Don't link to packages when they no longer exist #7121

Open
mschnitzer opened this issue Mar 6, 2019 · 0 comments
Open

Don't link to packages when they no longer exist #7121

mschnitzer opened this issue Mar 6, 2019 · 0 comments
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@mschnitzer
Copy link
Member

Issue Description

When a package gets deleted, but the backend build status information is not updated yet, the Monitor page still lists the deleted package and links to it even if it doesn't exist anymore. Maybe you should check if the package actually exists before linking to it.

Expected Result

There's no link when the package doesn't exist anymore.

How to Reproduce

You have to hope that the backend is slow in order to reproduce it:

  1. Create some packages in your project
  2. Create a patchinfo
  3. Delete the patchinfo again
  4. Click the blocked state in the build results page of the project (to go to the monitor page)
  5. Hope that the build status from the backend didn't realize yet that the package no longer exists so that it still shows it in state blocked

Further Information

The package patchinfo was already deleted, but was still shown in the blocked state and had a link to the package view (clicking the link results in a 404):
invalid-link

@saraycp saraycp added Bug Frontend Things related to the OBS RoR app labels Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

2 participants