Problem/Motivation
During the modification of a taxonomy term text field by adding or removing a "0" as first character if it is the only change, it isn't saved. The problem is the same with the other entities (Node, User).
Examples :
- Changing 01 to 1, stay 01.
- Changing 1 to 01, stay 1.
- Changing 01 to 2, work 2 is saved.
Steps to reproduce
Create a taxonomy with a text field, create an instance with the value "01" save. Then modify, change the value to 1, save.
Proposed resolution
On the save process, change the equals test to take this 0 into account.