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

Lists::getAssignments(): bug fix for exotic keys #459

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 17, 2023

If function calls or arrays would be used as the key for a list item and the call or array would contain a comma, the return value for the Lists::getAssignments() method would be incorrect and would identify more list items than there really are.

Fixed now.

Includes additional tests.

@jrfnl jrfnl added this to the 1.0.x Next milestone Apr 17, 2023
@jrfnl jrfnl force-pushed the utils/lists-getassignments-bug-fix-convoluted-keys branch from e2eefed to 19a450a Compare April 17, 2023 15:26
If function calls or arrays would be used as the _key_ for a list item and the call or array would contain a comma, the return value for the `Lists::getAssignments()` method would be incorrect and would identify more list items than there really are.

Fixed now.

Includes additional tests.
@jrfnl jrfnl force-pushed the utils/lists-getassignments-bug-fix-convoluted-keys branch from 19a450a to 482d9ef Compare April 17, 2023 15:53
@jrfnl jrfnl merged commit ef0e9d6 into develop Apr 17, 2023
@jrfnl jrfnl deleted the utils/lists-getassignments-bug-fix-convoluted-keys branch April 17, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant