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

Improve error message during staging request #8483

Merged
merged 1 commit into from
Oct 2, 2019

Conversation

eduardoj
Copy link
Member

@eduardoj eduardoj commented Oct 1, 2019

Make it clear that a request was not found in a Staging for a project.

Fixes #7355.

Co-authored-by: David Kang dkang@suse.com

@eduardoj eduardoj added Frontend Things related to the OBS RoR app staging-workflow Things related to the staging workflow feature labels Oct 1, 2019
Copy link
Contributor

@dmarcoux dmarcoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I said before in #8450 (comment)

With the current changes, a user cannot know if the request doesn't exist. It might happen because he/she mistypes the request number.

Make it clear that a request was not found in a Staging for a project.
Also give a proper message when the request doesn't exist at all.

Fixes openSUSE#7355.

Co-authored-by: David Kang <dkang@suse.com>
@eduardoj eduardoj force-pushed the fix_7355_wrong_error_message branch from 45c60b0 to 2ed6122 Compare October 1, 2019 11:22
@eduardoj
Copy link
Member Author

eduardoj commented Oct 1, 2019

@dmarcoux:

As I said before in #8450 (comment)

With the current changes, a user cannot know if the request doesn't exist. It might happen because he/she mistypes the request number.

A different error message was added, for covering the case that a request doesn't exist. Please re-review.

@eduardoj
Copy link
Member Author

eduardoj commented Oct 1, 2019

Address Feedback

@hennevogel
Copy link
Member

codecov hangs. coveralls is fine. merging!

@hennevogel hennevogel merged commit fe608f1 into openSUSE:master Oct 2, 2019
@eduardoj eduardoj deleted the fix_7355_wrong_error_message branch October 2, 2019 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app staging-workflow Things related to the staging workflow feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong error message during staging request
3 participants