Problem/Motivation

The code in the file - node_revision_delete.helpers.inc does not do a clean check for the parameter
minimum_revisions_to_keep

The case where minimum_revisions_to_keep is less than the number of revisions to delete works fine.
Problem happens when minimum_revisions_to_keep is more than the number of revisions to delete.

CommentFileSizeAuthor
#3 3119128-13504685.patch1.73 KByasheshb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yasheshb created an issue. See original summary.

yasheshb’s picture

Issue summary: View changes
yasheshb’s picture

FileSize
1.73 KB

The fix is applied using the patch file below
3119128-13504685.patch

adriancid’s picture

Title: "MINIMUM TO KEEP" revisions not taken into account while deleting » minimum_revisions_to_keep configuration is not taken into account while deleting

Thanks for the patch

adriancid’s picture

Status: Active » Fixed

  • adriancid committed 2959e70 on 7.x-3.x authored by yasheshb
    Issue #3119128 by yasheshb, adriancid: minimum_revisions_to_keep...

Status: Fixed » Closed (fixed)

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