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

Fix for "Index out of bounds of array" when chaining CPF tokens #8763

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

MatteoPiovanelli
Copy link
Contributor

When chaining tokens, if nothing was selected in a CPF, evaluation would log an error because it would seek an item out of the range of the array. (It would seek item at index 0 when no item was there).
In most real cases, the only consequence of this would have been "spam" in the error log, but that is annoying enough.

…uld log

and error because it would seek an item out of the range of the array.
@MatteoPiovanelli MatteoPiovanelli merged commit c7d10fd into OrchardCMS:1.10.x Feb 29, 2024
2 checks passed
@AndreaPiovanelli AndreaPiovanelli deleted the pr/cpftokenchain branch June 7, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants