Closed xandaschofield closed 3 years ago
This was caused by date objects being uploaded as strings instead of objects. In general, any objects in our ldaModel that aren't base classes (I don't remember the exact definition of base classes but I'm thinking anything you need to use 'new' in the declaration of) are probably going to need to be repaired after an upload. So far, the only object that falls in that category (as far as I can see) were these Date objects, but there might be more in the future. In preparation for this, I created a broader function that will be called after a file is uploaded. Right now it just calls one function that remakes the date objects, but I figure it's a good function to have for future repairs that might be needed.
Moral of the story: If you create a member object of the ldaModel that was initialized with 'new' be prepared to fix it after a model upload by adding a function to LDAModel.modelUploaded
I uploaded a saved model and was able to start browsing through the topic documents page, but when I turned to the timeseries page, it blanked out with the following error: