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
Substring browser display transformation error "Argument #2 must be of type int" #16704
Comments
|
Hey @ibennetch, can you please elaborate on the steps to reproduce this? |
|
Sure! So the idea of this particular transformation is that it only displays a portion of the result, and can substitute some text when that truncation occurs. It's somewhat useful for forcing browse mode to only display part of a result, for instance if every row of a particular column starts with the same text "The president is:", one could use this transformation to only display the names with For my test, I have a table with one VARCHAR column and on that column (either with the Change link or when creating the structure initially) I've set a "Browser display transformation" of Substring and options |
|
I get the same problem when using the substring input transformation instead: |
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>

Using PMA from the latest master.
When trying to use any values for the Substring transformation, I get the following error message. Mostly my "Browser transformation option" was set to
0,5,'MORE'The text was updated successfully, but these errors were encountered: