Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.1, 5.7.0, 6.5
-
macOS 10.11
Description
When retrieving an empty string from LocalStorage it will be seen as a null object and not an empty string. Since the string is not null then it should be respecting the fact that it is a string still and thus be seen as such.
Example attached shows 4 different use-cases, the empty string case is the one that is incorrect as typeof(val) returns object and not string.
Attachments
Issue Links
- relates to
-
QTBUG-53412 Qt Quick Local Storage: (JS) null (passed as bound parameter) to executeSql() converts to empty string instead of NULL
- Closed