Problem/Motivation

It seems like ValidAutoPurgePeriodConstraint gets run even when Enable auto-purge is disabled.

Steps to reproduce

Save the settings form with Enable auto-purge disabled and Auto-purge after is empty. You should get a message

1 error has been found: Auto-purge after entities have been in the trash bin for longer than this time

Issue fork trash-3501234

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tim bozeman created an issue. See original summary.

tim bozeman’s picture

Issue summary: View changes

amateescu made their first commit to this issue’s fork.

  • amateescu committed fdfe79b9 on 3.x
    Issue #3501234 by amateescu: ValidAutoPurgePeriodConstraint always runs
    
amateescu’s picture

Version: 3.0.10 » 3.x-dev
Status: Active » Fixed

Implemented a fix for this, thanks for the bug report :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.