WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

portal_historiesstorage not updated #2

@simahawk

Description

@simahawk

The script seems to do its work (thanks Luca! :)) and versions history get clean up. You can verify it by two things:

  • versioned objects' history view get updated
  • Data.fs size decrements (after pack)

Problem is that if you look at portal_historiesstorage stats via http://localhost:8080/Plone/portal_historiesstorage/storageStatistics you see always the same values. So it seems that this part of the version history machinery is not updated automatically after cleaning up the history.

Looking at Products.CMFEditions.interfaces.IArchivist.IPurgeSupport may give some hints but it seems there's no method to be called to purge a specific single version.

Tested and checked on Plone 3.3.4. Maybe this is not the case for 4.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions