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

BUGFIX: Ignore lastModification in favor of creation and publicationDates ZombieDetector.php #3

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

mficzel
Copy link
Member

@mficzel mficzel commented Jul 1, 2024

The last lastModification field is updated implicitly when any of the following fields changes.

aus NodeData.php

    /**
     * @var \DateTime
     * @Gedmo\Timestampable(on="update", field={"pathHash", "parentPathHash", "identifier", "index", "contentObjectProxy", "removed", "dimensionHash", "hidden", "hiddenBeforeDateTime", "hiddenAfterDateTime", "hiddenInIndex", "nodeType", "properties"})
     */
    protected $lastModificationDateTime;

This change adjusts that and now uses the lastPublicationDate with a fallbackt to creationDate as sole source of truth for Zombie detection.

@mficzel mficzel changed the title Ignore lastModification in favor of creation and publicationDates ZombieDetector.php BUGFIX: Ignore lastModification in favor of creation and publicationDates ZombieDetector.php Jul 1, 2024
@mficzel mficzel merged commit 2070028 into main Jul 1, 2024
2 checks passed
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.

2 participants