Opened 15 years ago
Closed 14 years ago
#382 closed defect (worksforme)
Problems with dojo.storage
Reported by: | martinc | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.2 |
Keywords: | storage | Cc: | |
Blocked By: | Blocking: |
Description
I've been having problems getting dojo.storage to work, and eventually discovered that the test page (test_storage.html) also has problems. While the test page appears to do something useful, it does not actually try to retrieve what it (thinks it) stores. I added that code, and it failed, with the error message "this.flash.get is not a function".
Digging deeper, it seems that this happens when the storage code is not initialised. The 'set' method (which is all that is called from test_storage.html) has a backup plan for when storage has not been initialised, which is why there is no error from the test page as is. However, attempting to retrieve the stored value using 'dojo.storage.get' fails because the package has not been initialised.
Looking at some more code, it seems that the intent was that the storage package be initialised automatically, by virtue of 'require'ing dojo.storage. That doesn't appear to be happening, and I haven't been able to figure out why.
By the way, there's also an error in the manual page for dojo.storage, where the documentation states:
// store a value in the "/foo" namespace dojo.storage.set("foo", "bar baz", "/tmp");
I assume the comment should refer to the "/tmp" namespace.
Change History (6)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Hi Martin; the dojo.storage that is in SVN is an implementation that Alex put together which uses Flash 8's ExternalInterface? to do storage. I've been working on a full refactoring that is local on my file system, which uses more robust (but more complex) ways for JavaScript? and Flash to interact, so that dojo.storage will be much more reliable (dojo.flash is part of this work). I hope to have this work done in the next few weeks and into subversion.
What platform and browsers do you have? Are you interested in helping me test out dojo.flash and dojo.storage?
comment:3 Changed 15 years ago by
Hi Brad. Yes, I'd be happy to do what I can to help test both dojo.storage and dojo.flash (the latter both with and without the former). I'm eagerly awaiting your new drop. ;-)
I primarily use Win2K, and have IE6, FF 1.5 and FF 1.0.7 installed. I also have a SuSE 8.2 box lying around that has some version of Konqueror and Firefox on it.
Does what's in SVN right now work at all, or should I just hold my horses and wait for your new drop?
comment:4 Changed 15 years ago by
I can confirm these problems, as I'm getting the same error "this.flash.get is not a function". I also would be willing to help test this. I've got an XP box w/ FF1.5 and IE6 (LCD - lowest common denominator :)
comment:6 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
请勿å‘布广告
更多链接<a href='http://www.hkrr.org/' target=_blank><img border=0 src='http://www.ovecr.org/images/banner_ads.gif' width=460 heigh=60 alt='注册香港公å¸'></a> 更多链接LINK:http://bank.ovecr.net/ 香港银行,http://www.mgzc.com 注册美国公å¸,http://www.hksac.net 注册香港公å¸,http://www.hksac.net/usa/ 注册美国公å¸,http://www.hksac.net/company/bvi.asp 注册BVIå…¬å¸,http://www.hksaa.cn 注册香港公å¸,http://www.hksaa.net 注册香港公å¸,http://www.hksaa.com.cn 注册香港公å¸,http://www.hkce.org 注册香港公å¸,http://www.hkce.net 注册香港公å¸,http://www.hkccr.org 注册香港公å¸,http://www.bviltd.org 注册BVIå…¬å¸,http://www.bvicr.com 注册BVIå…¬å¸,http://www.bvicr.org 注册BVIå…¬å¸,http://www.bvicr.net 注册BVIå…¬å¸,http://www.158hk.net 注册香港公å¸,http://www.ltdcr.com 注册香港公å¸,http://www.ltdcr.net 注册香港公å¸,http://www.ltdcr.org 注册香港公å¸,http://www.ltdcr.cn 注册香港公å¸,http://www.ltdcr.cn/usa/ 注册美国公å¸,http://www.cegcr.com 注册香港公å¸,http://www.cegcr.net 注册香港公å¸,http://www.cegcr.org 注册香港公å¸,http://www.hkrr.org 注册香港公å¸,http://www.hktmr.net æ³¨å†Œå•†æ ‡,http://www.hktmr.com å•†æ ‡æ³¨å†Œ,http://www.hkrr.org/usa/ 注册美国公å¸,http://www.hkrr.org/company/bvi.asp 注册BVIå…¬å¸,http://www.ltdcr.com/usa/ 注册美国公å¸,http://www.ltdcr.com/company/ 注册BVIå…¬å¸,http://www.ltdcr.org/usa/ ç¾Žå›½å…¬å¸æ³¨å†Œ,http://www.ltdcr.org/company/bvi.asp 注册BVIå…¬å¸,http://www.hkltdcr.com 注册香港公å¸,http://www.hkltdcr.com/company/ 注册香港公å¸,http://www.hkltdcr.com/company/bvi.asp 注册BVIå…¬å¸,http://www.hkltdcr.com/usa/ 注册美国公å¸,http://www.hkltdcr.net 注册香港公å¸,http://www.hkltdcr.org 注册香港公å¸,http://www.hkltdcr.org/usa/ 注册美国公å¸,http://www.hkltdcr.org/company/BVI.asp 注册BVIå…¬å¸,http://www.hkltdcr.org/company/hk-a.asp 注册香港公å¸,http://www.hkltdcr.cn 注册香港公å¸,http://www.oveltd.net 注册香港公å¸,http://www.oveltd.com 注册香港公å¸,http://www.oveltd.org 注册香港公å¸,http://www.oveltd.cn 注册香港公å¸,http://www.oveltd.cn/company/hk-a.asp 注册香港公å¸,http://www.tradeinvests.net 贸易投资,http://www.tradeinvests.com 国际贸易,http://www1.158hk.net 注册香港公å¸,http://www2.158hk.net é¦™æ¸¯å…¬å¸æ³¨å†Œ,http://www3.158hk.net 香港注册公å¸,http://www5.158hk.net 办ç†é¦™æ¸¯å…¬å¸,http://www.ovecr.net 注册香港公å¸,http://www.ovecr.com 注册香港公å¸,http://www.ovecr.org 注册香港公å¸,http://www.ovecr.cn 注册香港公å¸,http://www.hksaa.com.cn 注册香港公å¸,http://vip.ltdcr.org 注册香港公å¸,http://usa.ovecr.net 注册美国公å¸,http://www.ovecr.net 注册香港公å¸,æœç´¢æŽ’å|网站排å,http://cpa.ovecr.net 香港会计师.http://cpaltd.ovecr.net 注册会计师.http://hk.ovecr.net 注册香港公å¸.http://hkltd.ovecr.net 注册香港公å¸.http://usa.ovecr.net 注册美国公å¸.http://usaltd.ovecr.net 注册美国公å¸.http://bvi.ovecr.net 注册BVIå…¬å¸.http://bviltd.ovecr.net 注册BVIå…¬å¸.http://offshore.ovecr.net 海外离岸公å¸.http://offshoreltd.ovecr.net 注册海外公å¸.http://www.hkrr.org 注册香港公å¸,http://vip.ltdcr.org 注册香港公å¸,http://cpa.ltdcr.org 注册香港公å¸,http://www.ltdcr.org/brand/ æ³¨å†Œå•†æ ‡,http://www.ltdcr.com/brand/ æ³¨å†Œå•†æ ‡,http://www.hkltdcr.com/brand/ æ³¨å†Œå•†æ ‡,http://www.hkrr.org/brand/ æ³¨å†Œå•†æ ‡,http://www.ovecr.org/brand/ æ³¨å†Œå•†æ ‡,http://www.ltdcr.org/brand/ æ³¨å†Œå•†æ ‡,http://www.hkltdcr.org/company/shanghai.asp 注册上海公å¸http://www.ltdcr.org/company/shanghai.asp 注册上海公å¸,http://www.hkltdcr.com/company/shanghai.asp 注册上海公å¸http://www.ltdcr.com/company/shanghai.asp 注册上海公å¸http://www.hkrr.org/company/shanghai.asp 注册上海公å¸,http://www.ovecr.com/company/shanghai.asp 注册上海公å¸,http://fjt.infoscape.com.cn/gate/big5/www.richful.net/ 国际贸易,进出å£è´¸æ˜“å…¬å¸,http://fjt.infoscape.com.cn/gate/big5/b2b.richful.net/ 进出å£è´¸æ˜“,国际贸易,http://fjt.infoscape.com.cn/gate/big5/bbs.richful.net/ 进出å£è´¸æ˜“,贸易公å¸,http://211.147.225.32/gate/big5/www.richful.net/English/default.asp TRADE,http://211.147.225.32/gate/big5/www.hksac.org/ 注册香港公å¸,http://211.144.146.25/gate/big5/www.richful-hk.com/ 进出å£è´¸æ˜“,注册香港公å¸,http://211.144.146.25/gate/big5/www.richful.hk 投资,贸易公å¸, <a href='http://www.tradeinvests.net/' target=_blank><img border=0 src='http://www.tradeinvests.net//images/logo.gif' width=88 heigh=31 alt='注册香港公å¸'></a> , <a href='http://www.tradeinvests.com/' target=_blank><img border=0 src='http://www.richful.net/new_images/logo.gif' width=189 heigh=55 alt='国际贸易'></a> , <a href='http://www.oveltd.net/' target=_blank><img border=0 src='http://www.richful-hk.com/link1.gif' width=88 heigh=31 alt='é¦™æ¸¯å…¬å¸æ³¨å†Œ'></a> , <a href='http://www.ltdcr.com/' target=_blank><img border=0 src='http://www.hksac.org/images/cg.gif' width=100 heigh=100 alt='注册香港公å¸'></a> ,