Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-94820

Checking out a document and checking in bypasses max amount of versions

    Description

    Summary:

    Checking out a document and checking in bypasses max amount of versions

    Steps to reproduce:

    1. Navigate to Control Panel > Configuration > System Settings > Documents and Media > System Scope > Service
    2. Change Maximum Number of Versions 2
    3. Go to Content & Data > Documents and Media
    4. Add a document
    5. Checkout document > Checkin Document major or minor at least 3x
    6. Click info of document
    7. View Versions

    Expected Result:

    Maximum number of versions shown 2

    Actual Result:

    All versions are shown

    (NOTE: Editing document before checking in restricts maximum number of versions)

    Reproduced on:

    Tomcat 9.0.17 + MySQL 5.7

    Commit: 837a5450fb40c96f2fb8ef52cb4d1b7c16bed5da

     

      Attachments

        Issue Links

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 9 weeks, 6 days ago

                Packages

                Version Package
                Master