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

Fix removal of rearchiving records #16711

Merged
merged 1 commit into from Nov 14, 2020
Merged

Fix removal of rearchiving records #16711

merged 1 commit into from Nov 14, 2020

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Nov 13, 2020

Description:

follow up to #16702

Review

  • Functional review done
  • Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
  • Security review done see checklist
  • Code review done
  • Tests were added if useful/possible
  • Reviewed for breaking changes
  • Developer changelog updated if needed
  • Documentation added if needed
  • Existing documentation updated if needed

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Nov 13, 2020
@diosmosis
Copy link
Member

👍 nice catch

@diosmosis diosmosis merged commit 0d404d6 into 4.x-dev Nov 14, 2020
@diosmosis diosmosis deleted the fixrearchivelist branch November 14, 2020 03:25
@@ -566,9 +566,9 @@ public function applyScheduledReArchiving()
$reArchiveList = new ReArchiveList($this->logger);
$items = $reArchiveList->getAll();

foreach ($items as $entry) {
foreach ($items as $item) {
Copy link
Member

Choose a reason for hiding this comment

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

btw for such tricky fixes might be good to add a test case if possible as it otherwise might regress again easily

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants