Content in Version and Workflow reports don't work when only one version defined in a space

Description

Steps to reproduce:

  1. Create a space with one version

  2. Go to Publish menu -> Content in Version Report

Expected result:
The report should be displayed

Actual result:
An error is thrown

Workaround:
Create at least two versions in a space to use the report

Environment

Confluence 5.8.10, 5.9.11

Assignee

Unassigned

Reporter

Sync User [K15t]

Participants

None

QA Status

None

Deployment

None

Documentation Status

None

UI Concept

None

External Votes

None

Time tracking

0m

Components

Sprint

None

Fix versions

Affects versions

Configure