Closed ghost closed 10 years ago
I found out that the files are stored in the file collection 'cfs.eventPhotos.filerecord' like so:
{ "EJSON$type" : "FS.File", "EJSON$value" : { "EJSON_id" : "Mgp96BwtGLKPLFpSh", "EJSONcollectionName" : null }, "_id" : ObjectId("533f09e23bb5843159f50e7a") }
and https://github.com/CollectionFS/Meteor-cfs-access-point/blob/master/access-point-server.js#L90 fails to find the file.
There is at least one Meteor issue involved as I'm trying to figure this out. See meteor/meteor#2018.
There might be something else going on as well, but it's hard to get past the Meteor issue to find out.
Why is the collectionName null? Is it not mounted?
This was an issue with our cloning function. It should be fixed now.
I need the package because I want to store a reference to a FS.File in my object.
Minimal code that reproduces the error: https://github.com/Sanjo/collectionFS_test/tree/cfs-filesystem-and-ejson-file
Client Error Log:
Server log: