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

Delete and redo file sets #964

Merged
merged 4 commits into from
Jun 21, 2024
Merged

Delete and redo file sets #964

merged 4 commits into from
Jun 21, 2024

Conversation

orangewolf
Copy link
Member

No description provided.

@orangewolf orangewolf added the minor-ver for release notes label Jun 21, 2024
ShanaLMoore
ShanaLMoore previously approved these changes Jun 21, 2024
@@ -2,4 +2,22 @@

module Bulkrax
class DeleteFileSetJob < DeleteJob; end

def perform(entry, importer_run)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to pass the importer_run? It doesn't seem like it's getting used here.

Copy link
Member Author

Choose a reason for hiding this comment

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

its used in the parent job (so the call to super gets it)

@ShanaLMoore ShanaLMoore dismissed their stale review June 21, 2024 21:12

Is it inside the class ?

@@ -2,4 +2,22 @@

module Bulkrax
class DeleteFileSetJob < DeleteJob; end
Copy link
Contributor

Choose a reason for hiding this comment

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

Also, ignore me if I'm reading this wrong, but is this an extra end?

Copy link
Member Author

Choose a reason for hiding this comment

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

grr - I really hate the ; end syntax. it takes an important thing and hides it for no real gain but to save a linefeed. fixed

Copy link
Member Author

Choose a reason for hiding this comment

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

this was a really good catch Shana. its legal to define the method on the module so its syntaxitcally correct but would not have ever been called the way I had it

@orangewolf orangewolf merged commit c58f870 into main Jun 21, 2024
6 checks passed
@orangewolf orangewolf deleted the delete_and_redo_file_sets branch June 21, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants