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

Change acl-config backup tables detected error message #1164

Merged
merged 1 commit into from
Nov 14, 2019

Conversation

jtpalmer
Copy link
Contributor

Description

Change acl-config error message to add additional details.

Motivation and Context

Specifies the command to run so you don't need to look it up and provides a URL so you don't need to search for it.

Tests performed

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@jtpalmer jtpalmer added enhancement Enhancement of the functionality of an existing feature Category:ACL Access Control Lists labels Nov 13, 2019
@jtpalmer jtpalmer added this to the 9.0.0 milestone Nov 13, 2019
@@ -427,7 +427,8 @@ SQL;
$log->err('Backup tables detected! ');
$log->err('Unable to continue!');
$log->err('This may indicate a failed previous run.');
$log->err('Please see the XDMoD Troubleshooting documentation to resolve.');
$log->err('Run "acl-config --recover" to recover using backup tables.');
$log->err('See https://open.xdmod.org/9.0/faq.html#why-do-i-see-backup-tables-detected-when-running-the-acl-config-script for more information.');
Copy link
Contributor

Choose a reason for hiding this comment

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

is there any way to have this link without the version number in it? from my very basic testing i couldnt get it to redirect with the anchor but didnt know if you looked into it

I dont like the idea of having to update this everytime. but i also dont like my suggestion very much either...

Suggested change
$log->err('See https://open.xdmod.org/9.0/faq.html#why-do-i-see-backup-tables-detected-when-running-the-acl-config-script for more information.');
$log->err('See the XDMoD FAQ (https://open.xdmod.org/faq.html)');
$log->err('section: Why do I see “Backup tables detected!” when running the acl-config script?');
$log->err('for more information.');

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't find a URL that would redirect properly either. I'd prefer to not include the version number, but unless we can get the redirect working this is good enough for me.

@jtpalmer jtpalmer merged commit b4c4d20 into ubccr:xdmod9.0 Nov 14, 2019
@jtpalmer jtpalmer deleted the acl-error-message branch November 14, 2019 14:39
@jtpalmer jtpalmer changed the title Change ACL error message Change acl-config backup tables detected error message Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:ACL Access Control Lists enhancement Enhancement of the functionality of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants