Opened 9 years ago
Closed 8 years ago
#14973 closed defect (patchwelcome)
Invalid namespace for dojox.rpc.OfflineRest
Reported by: | will-ob | Owned by: | Dustin Machi |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9 |
Component: | Dojox | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojox.rpc.OfflineRest? uses namespace dojox_rpc_OfflineRest
and throws an error when checked by
dojox.storage.LocalStorageProvider?
isValidNamespace: function(/*string*/ keyName){ /*Boolean*/ // we *must* prevent namespaces from having // underscores - else lookup of namespaces // via RegEx (e.g. in getNamespaces ) would // return wrong results. // // The only way around this would be to // disallow underscores in keys. if(keyName === null || keyName === undefined){ return false; } return /^[0-9A-Za-z-]*$/.test(keyName); },
perhaps it should be dojox-rpc-OfflineRest
Attachments (1)
Change History (3)
comment:1 Changed 9 years ago by
Owner: | changed from Adam Peller to Dustin Machi |
---|---|
Status: | new → assigned |
Changed 9 years ago by
Attachment: | offlinerest.html added |
---|
comment:2 Changed 8 years ago by
Milestone: | tbd → 1.9 |
---|---|
Resolution: | → patchwelcome |
Status: | assigned → closed |
We would welcome a patch to fix this. Otherwise, I don't think this will be fixed given the lack of activity.
Note: See
TracTickets for help on using
tickets.
Some failing code