[SERVER-85800] Block API cellFoldValues_F should process non-boolean values Created: 26/Jan/24 Updated: 30/Jan/24 Resolved: 30/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alberto Massari | Assignee: | Alberto Massari |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query Execution
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | QE 2024-02-05 | ||||
| Participants: | |||||
| Linked BF Score: | 156 | ||||
| Description |
|
Currently cellFoldValues_F has a check that the data to be processed is made of all boolean values. However, the scalar counterpart, traverseF, can return non boolean values (e.g. when it is applied to a non-array value and the lambda returns non-boolean, i.e. Nothing) or handle non boolean values coming from the lambda (that are treated as "false") e.g.
|
| Comments |
| Comment by Githook User [ 30/Jan/24 ] |
|
Author: {'name': 'Alberto Massari', 'email': 'alberto.massari@mongodb.com', 'username': 'albymassari'}Message: GitOrigin-RevId: f1fef74851451d8bb51eff1b033786fe63b37230 |