It's actually due to a SQLite quirk in older versions of SQLite. It will be fixed in the next release since it uses a newer version of SQLite.
Also, another workaround is to simply edit the attribute value again (in the form). The first time you assign a value with leading zeros, if the attribute didn't already exist, the leading zeroes will get truncated on saving, but after leaving and returning to the item and adding the leading zeroes again, it will retain the leading zeroes.
|