Skip to content

Dates returned by API for Report Invalidation is incomplete #20401

@Starker3

Description

@Starker3

When using the API endpoint to invalidate reports: CoreAdminHome.invalidateArchived
And invalidating for any period other than range returns incomplete dates for confirmation of invalidated periods.

For example, when using period=week&dates=20223-01-01,2023-02-24 the following response is returned:

<result>
<row>
Success. The following dates were invalidated successfully: 2023-02-24
</row>
</result>

When using a dates value such as lastN or previousN returns no dates. For example when using &dates=last2 the following response is returned:

<result>
<row>
Success. The following dates were invalidated successfully:
</row>
</result>

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions