You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to fetch API.getGlossaryMetrics the order of response changes if php version >= 8 , due to which testcases starts failing
Eg: https://3v4l.org/aK3vq
Expected Behavior
The sort order should be consistent across php versions
tsteur
added
Bug
For errors / faults / flaws / inconsistencies etc.
and removed
Needs Review
PRs that need a code review
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
labels
Oct 12, 2021
justinvelluppillai
changed the title
API.getGlossaryMetrics sort gives different result for php8.1
Fixed in place sorting order bug for PHP8+
Nov 29, 2021
When trying to fetch API.getGlossaryMetrics the order of response changes if php version >= 8 , due to which testcases starts failing
Eg: https://3v4l.org/aK3vq
Expected Behavior
The sort order should be consistent across php versions
Current Behavior
Sort order differs for php versions
https://3v4l.org/aK3vq
Possible Solution
A possible fix is to not return '0' if values are same.
Fixed Eg: https://3v4l.org/3cF8h
Steps to Reproduce (for Bugs)
https://3v4l.org/aK3vq
Context
Funnels Plugin test cases are breaking when running for php version >= 8
Your Environment
The text was updated successfully, but these errors were encountered: