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
fixes #7979 - adding better error reporting for repo enable ui #4753
Conversation
%span.errors | ||
%br | ||
%i.icon-exclamation-sign | ||
= _("There was an error attempting to enable or disable this repository: %s") % error_message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about putting the error_message
text into a <pre></pre>
to offset it a little more from the initial text? Should make copy/pasting the actual error message easier as well if a use rneeds to.
When I drilled down to enabling an actual repository I ended up with a link to |
@ehelms correct, there's not really a way for us to grab the task due to the way the code is structured. I didn't want to re-write the enable repo task just for this legacy page. |
@jlsherrill That's fine, but it's redirecting me to '/foreman_tasks/dynflow' which may not be enabled in all cases? |
ohhhh right, that should be /foreman_tasks/tasks/ will fix |
@ehelms updated link to tasks list and put error in pre tag |
ACk |
fixes #7979 - adding better error reporting for repo enable ui
This adds better messages for: