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

API Result changes after Matomo Upgrade from 3.8.1 to 3.13.2 or 3.13.5 #15912

Closed
sandeepdixit2020 opened this issue May 5, 2020 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@sandeepdixit2020
Copy link

sandeepdixit2020 commented May 5, 2020

API at Matomo Version 3.8.1 For which result changes after Matomo version upgrade.

/index.php?module=API&method=Events.getName&secondaryDimension=eventCategory &idSite=6&period=day&date=2020-04-23 &token_auth=XX&filter_limit=-1 &flat=1&segment=dimension6==2020DecorativeItemsUS2020

(at Matomo Version 3.8.1 Segment working as expected)

Upgrade to 3.13.2 (or 3.13.5) and invalidateArchivedReports for 2020-04-23

Above API now returns different results. We can see that data that is not from segment=dimension6==2020DecorativeItemsUS2020

Because all of our API segment by dimension6, it's a big issue for us.
API Results before after update, Screenshots ,visit logs attached. dimension6 is catalog code on Matomo UI.

please note that we created one environment, from backup of 3.8.1 just to verify this issue, as this is very critical problem for us.
We did not change any configuration in between on upgrades. We have been able to reproduce this scenario many times.

dimension6 is named catalogCode on Piwik UI.

API response before Update. Screent shot of UI report and API result as xml.

response_Before_MatomoUpgrade.xml.txt
Event Names 3 8 1

API response after Update. Screent shot of UI report and API result as xml.

Response_After_Matomo_Upgrade.xml.txt

Event Names 3 132

Other important data to help debugging

VisitLog 1
VisitLog Part 2

VisitLog3_Showing DimentionValueToFilter
VisitLog_2020_04_23_Full.xml.txt
VisitLog_2020_04_23_Segmented.xml.txt

@tsteur
Copy link
Member

tsteur commented May 5, 2020

Hi @sandeepdixit2020 this is due to #11900 and now expected behaviour change as it actually was buggy initially (I totally understand some users like you prefer and expect the other behaviour how it used to work, sorry about that). Here's a workaround: #15130 (comment)

the feature you are likely looking for are "filters" and we have an issue for this here: #15438

@tsteur tsteur closed this as completed May 5, 2020
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants