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

ISLANDORA-2306 Delete all this module's variables. #184

Merged
merged 2 commits into from
Oct 2, 2018

Conversation

rosiel
Copy link
Member

@rosiel rosiel commented Sep 20, 2018

JIRA Ticket: https://jira.duraspace.org/browse/ISLANDORA-2306

What does this Pull Request do?

Causes the "Reset" button on the admin form, and the uninstall hook, to clean up all variables.

How should this be tested?

Try to reset saved values to their defaults with the reset button in the Large Images admin form - other than the viewer, it won't work.

Same with uninstalling the module.

With this PR, they should be removed.

Additional Notes:

  • Does this change require documentation to be updated? No
  • Does this change add any new dependencies? No
  • Does this change require any other modifications to be made to the repository (ie. Regeneration activity, etc.)? No
  • Could this change impact execution of existing code?
    **These variables are named generically - possibly a hangover from 6x, but they might be used elsewhere in other modules. They don't appear to be anywhere else in the Vagrant install, though.

Interested parties

@Islandora/7-x-1-x-committers

@bryjbrown
Copy link
Member

@rosiel It looks like this passed all the Travis CI tests, but for some reason GitHub thinks that the test is still pending. Do you know of a way we can have it run through the tests again?

@manez
Copy link
Member

manez commented Oct 1, 2018

@bryjbrown I restarted the tests. Let's see if turning it off and turning it back on again works.

Copy link
Member

@bryjbrown bryjbrown left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@bryjbrown
Copy link
Member

@rosiel Just fired this up in a VM and tested with resetting and uninstalling using 7.x and this PM. Sure enough, 7.x didn't clean up after itself and this PR does. Works as advertised, will merge in 24 if no one has an issue.

@bryjbrown bryjbrown merged commit c8aaf34 into Islandora:7.x Oct 2, 2018
@rosiel
Copy link
Member Author

rosiel commented Oct 5, 2018

thanks @bryjbrown!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants