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

DLFileVersionLocalServiceImpl.getFileVersionsCount does not handle STATUS_ANY properly

Details

    Description

      Steps to Reproduce

      1. Add a new Basic Document
      2. Get the new document's fileEntryId from the database
      3. Run the dlFileVersionsCount.groovy script, replacing your fileEntryId's value

      Results

      Expected Results: The output of both service calls would be 1
      Actual Results: getFileVersions has an output of 1 but getFileVersionsCount has an output of 0

      Attachments

        Activity

          People

            abel.yu Abel Yu (Inactive)
            jonathan.mccann Jonathan McCann
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 9 weeks, 4 days ago

              Packages

                Version Package
                7.0.0 DXP FP60
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master