Skip to content

Conversation

@q-desabre
Copy link
Contributor

@q-desabre q-desabre commented Nov 3, 2025

Description

In the CalcTableStatement, in the case of variables that share the same starting sub-string, the sub-string was replaced corrupting the next ones

Example where :
$var -> "MyVariable"
$var_corrupted -> "ERROR"

When replacing
$var -> "MyVariable"
$var_corrupted -> "MyVariable_corrupted" instead of "ERROR"

Changes

I sorted the value by length so the problem could not occur since we replace the longer strings first there is no possibility of substring being replaced

Checklist

  • This pull request fixes an issue.

@cyrilus cyrilus merged commit eca1e8d into Probesys:master Nov 3, 2025
1 check passed
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