2

After the Winter 21 update I've come across an issue in a clients environment where when entering a negative value into an apex input field returns an invalid number error. The debug log prints '|VF_PAGE_MESSAGE|Invalid number', and once the output panel is reRendered it looks as though the negative symbol has been changed. (See below images). This behaviour was not occuring previous to the Winter 21 update.

I am unable to reproduce this issue in our development environment, it seems as though it is a local issue with their specific org.

My guess is that upon reRender the value is being converted into a string and so is not being recognized as a valid integer, although this seems unlikely that this would have been a change included in the update.

Any insight or tips would be greatly appreciated!

Before reRender: Pre reRender

After: Post reRender

1
  • The negative sign on the after-rerendered looks a bit longer than before-rerendered. Oct 17, 2020 at 23:13

1 Answer 1

0

Issue was due to the locale settings, seems as though the target language was reRendering the negative sign to be an unreadable character. Changing the locale fixed the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .