Public bug reported: Token token(QString(), QString(), QString(), QString()); token.isValid(); // prints true
This is something which can obviously being worked around in the client code, but I think it would be nicer if Token would consider empty strings as missing data. ** Affects: ubuntuone-credentials (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntuone-credentials in Ubuntu. https://bugs.launchpad.net/bugs/1572943 Title: Token::isValid() returns true on invalid tokens Status in ubuntuone-credentials package in Ubuntu: New Bug description: Token token(QString(), QString(), QString(), QString()); token.isValid(); // prints true This is something which can obviously being worked around in the client code, but I think it would be nicer if Token would consider empty strings as missing data. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntuone-credentials/+bug/1572943/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp