[SailfishDevel] Update 126.96.36.199 changes LocalStorage location?
andreas at storbjork.fi
Fri Jan 31 20:18:03 UTC 2014
There should have been a mention about this somewhere in the
documentation from the beginning.
Like when you create a new empty project, this is your .cpp:
int main(int argc, char *argv)
// SailfishApp::main() will display "qml/template.qml", if you need
// control over initialization, you can use:
// - SailfishApp::application(int, char *) to get the
// - SailfishApp::createView() to get a new QQuickView * instance
// - SailfishApp::pathTo(QString) to get a QUrl to a resource file
// To display the view, call "show()" (will show fullscreen on device).
return SailfishApp::main(argc, argv);
Why wasn't there any mention of organizationName and organizationDomain
On 31.1.2014 22:02, Andrey Kozhevnikov wrote:
> i mean: if you used appName and orgName before your app not affected.
> On 01.02.2014 01:44, Stefan Brand wrote:
>> Well, I just used the default sailfish app template from the SDK...
>> In an IRC-Log I saw thp mention that setting organizationName and
>> organizationDomain to "" will revert back to the old path. So i
>> changed my main() in the cpp to this:
>> int main(int argc, char *argv)
>> // Fix move of LocalStorage in libsailfishapp
>> return SailfishApp::main(argc, argv);
>> Unfortunately this doesn't seem to work. The first line setting the
>> application version is working fine, but it still uses the new
>> storage path. What am I doing wrong here?
>> Am 31.01.2014 20:24, schrieb Andrey Kozhevnikov:
>>> yes, default path was changed. you might need to set your own
>>> applicationName, organizationName. good written apps wasnt affected by
>>> update ;)
>>> On 01.02.2014 00:31, Stefan Brand wrote:
>>>> Hi there,
>>>> I just installed the latest update 188.8.131.52 to my Jolla. Afterwards
>>>> I opened SailOTP (the app I wrote) and was greeted with an empty
>>>> screen. All off my OTP-Tokens where gone.
>>>> A little investigation shows that the LocalStorage DB was moved
>>>> Before the update it was in
>>>> After the update a new DB was created in
>>>> Copying the old QML-folder into the second harbour-sailotp folder
>>>> brought back my tokens.
>>>> I didn't do any updates to my app, so this can only be caused by
>>>> the system update. So did anyone else see this behavior with other
>>>> apps? I think this might be a bug, so any thought on this?
>>>> Thanks in advance.
>>>> Stefan Brand
>>>> SailfishOS.org Devel mailing list
>>> SailfishOS.org Devel mailing list
>> SailfishOS.org Devel mailing list
> SailfishOS.org Devel mailing list
More information about the Devel