RhoElements v1.0.1.2 - local storage problem

Hi, we are currently using RhoElements v1.0.1.2 on a Motorola ES400 and we are having a problem using local storage.  The code we use was working on version 1.0.0.10 of RhoElements, but since upgrading, the localStorage Javascript object is no longer available.

Is there anything we should add to our config.xml file (or any other configuration), or is this actually a bug in RhoElements?

  I have attached some test HTML that works on 1.0.0.10, but not on 1.0.1.2

Robin West
Hi Mark,You sample test file

Hi Mark,

You sample test file works fine for me. What specifically are you seeing? I am also using RhoElements v 1.0.1.2 on an ES400? Can you attached your config.xml that you are using and the log file?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mark Collier
The error I'm getting is each

The error I'm getting is each of the functions (DeleteValue(), ReadValue() and  SaveValue()) catch the error of 'null is not an object' - which suggests that the localStorage object is not available / accessible.

Attached is the config.xml I am using with RhoElements v1.0.1.2

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mark Collier
No need to investigate

No need to investigate further - It was an error in my config,xml

The <WebStorageDBPath> node value attribute was not quoted properly (it was missing an end quote) which was causing this problem.

Thanks for your assistance

Mark.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments