Skip to content

Loading an unarchived period might trigger error when visits log is disabled #19291

@sgiehl

Description

@sgiehl

When the visits log is disabled globally or in website setting, loading reports for a period that has not yet been archived (without browser trigger), might currently show the error "Visits log is deactivated in website settings..."

The problem seems to be that the raw data check might try to perform a request to Live.getLastVisitsDetails in

return AjaxHelper.fetch({
method: 'Live.getLastVisitsDetails',
filter_limit: 1,
doNotFetchActions: 1,
});

That method is not available with deactivated visit log.

We should check if we can use or create another API method that provides the needed information, or maybe avoid the call completely if it doesn't make sense in that case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.duplicateFor issues that already existed in our issue tracker and were reported previously.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions