Skip to content

Update cache to ignore values over 250 characters (D1118)#596

Open
droberts-ctrlo wants to merge 3 commits intoctrlo:devfrom
droberts-ctrlo:calc-cache-change
Open

Update cache to ignore values over 250 characters (D1118)#596
droberts-ctrlo wants to merge 3 commits intoctrlo:devfrom
droberts-ctrlo:calc-cache-change

Conversation

@droberts-ctrlo
Copy link
Contributor

@droberts-ctrlo droberts-ctrlo commented Jan 12, 2026

This code checks the %values hash and does not insert the value into the cache should there be any values over 250 characters inserted into the field.

@droberts-ctrlo droberts-ctrlo changed the title Update cache to ignore values over 250 characters Update cache to ignore values over 250 characters (D1118) Jan 12, 2026
@pawelwlod
Copy link

This code checks the %values hash and does not update insert the value into the cache should there be any values over 250 characters inserted into the field.

What do you mean by "update insert the value"?

@droberts-ctrlo
Copy link
Contributor Author

This code checks the %values hash and does not update insert the value into the cache should there be any values over 250 characters inserted into the field.

What do you mean by "update insert the value"?

Fixed

Copy link
Contributor

@abeverley abeverley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Dave, good work on getting the test added. A bit more to do though I'm afraid...

- Fix incorrect return on calc cache code
- Add unit test to ensure correct write operation
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.

3 participants