Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make all new segments "Pre-processed" when browser_archiving_disabled_enforce=1 #12254

Merged
merged 3 commits into from Nov 19, 2017

Conversation

mattab
Copy link
Member

@mattab mattab commented Nov 7, 2017

If real time processing of segments is disabled via browser_archiving_disabled_enforce=1
then any segment set to "segmented reports are processed in real time (default)"
will NEVER be showing data (except in the Live/real time reports)

With this PR all new segments will be set to "segmented reports are pre-processed (requires cron)"

It does not fix up existing real segments, but existing real time segments would display a modal explaining the issue (refs #12253)

…_enforce=1

If real time processing of segments is disabled via browser_archiving_disabled_enforce=1
then any segment set to "segmented reports are processed in real time (default)"
will NEVER be showing data (except in the Live/real time reports)

With this PR all new segments will be set to "segmented reports are pre-processed (requires cron)"

It does not fix up existing real segments, but existing real time segments would display a modal explaining the issue (refs #12253)
@mattab mattab added c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Needs Review PRs that need a code review labels Nov 7, 2017
@mattab mattab added this to the 3.2.1 milestone Nov 7, 2017
$isBrowserArchivingDisabled = Config::getInstance()->General['browser_archiving_disabled_enforce'];

if (!$isBrowserArchivingDisabled) {
if (!$this->isBrowserArchivingDisabledForSegments()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe ArchiveProcessor\Rules::isBrowserArchivingAvailableForSegments() could be used instead

@mattab mattab merged commit 89569c9 into 3.x-dev Nov 19, 2017
@mattab mattab deleted the force_auto-archive_segments_when_needed branch November 19, 2017 21:11
@matomo-org matomo-org deleted a comment from MatomoForumBot Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants