PicNet/picnet_closure_repo — Issue #2: makeDateSafe method
Author: robert-stuttaford
Created: 2011-11-29 07:44:04+00:00
State: open

So I'm checking out the DataManager, and when I run the demo in Google Chrome 15, it tells me it's using WebSQL, and when I try to "Add Entity to Data Store", I get an uncaught type error:

**Uncaught TypeError: Object [object Object] has no method 'makeDateSafe'**
pn.data.AbstractSQLRepository.saveItemAbstractSQLRepository.js:212
pn.data.LocalDataProvider.saveEntityLocalDataProvider.js:65
(anonymous function)DataManager.js:432
MockAjaxProvider.makeAjaxRequestMockAjaxProvider.js:28
pn.data.RemoteDataProvider.saveEntityRemoteDataProvider.js:89
pn.data.DataManager.saveEntityDataManager.js:413
(anonymous function)datamanagerdemo.js:32
goog.events.Listener.handleEventlistener.js:157
goog.events.fireListenerevents.js:777
goog.events.handleBrowserEvent_events.js:1009
(anonymous function)

I've searched all the code in the repo, as well as all the code in the Google Closure Library, and I can't find where this method is declared. I'm guessing it got refactored out at some point.

Please let me know how to reconstitute it so that I can continue!