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

Improve sorting of action details #15723

Merged
merged 1 commit into from Mar 23, 2020
Merged

Improve sorting of action details #15723

merged 1 commit into from Mar 23, 2020

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Mar 23, 2020

The result of sorting the actions differed between PDO and MYSQLI database adapters.
That's the reason why various tests were failing in the AllTests build.
The reason is quite simple, but was hard to find...
PDO returns integer values as integers while MYSQLI returns them as strings. The sorting by action type then results in different results as the value might be a string or an integer. Comparing those can have different results...

@sgiehl sgiehl added c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Mar 23, 2020
@sgiehl sgiehl added this to the 4.0.0 milestone Mar 23, 2020
@sgiehl sgiehl requested a review from diosmosis March 23, 2020 16:39
@tsteur tsteur merged commit abd9c07 into 4.x-dev Mar 23, 2020
@tsteur tsteur deleted the actionsorting branch March 23, 2020 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants