Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54703

When retrieving an empty string from LocalStorage it will be seen as a null object and not an empty string

XMLWordPrintable

    • macOS

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ulherman Ulf Hermann
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes