Open Ciaro opened 13 years ago
thanks for reporting this ciaro. was pushing hard to get sphere launched on orchestra before the end of the weekend. updated the lithium core in the process via a merge from gwoo which appears to have caused this issue (core model/mongo api change?).
unfortunately, at the moment the comments array is not being correctly saved in mongo, even though the comment count is.
hope to isolate the issue one of these nights very soon. in the meantime, maybe someone else can take a look, patch it w/ tests and initiate a pull request? ;)
Hmm, maybe you were using an old(er) version of Lithium and some new changes to the master branch broke your 'comments' functionality?
err, yeah. that's what i was trying to say.
see around this line it attempts to update and then save the new comment as an array. I tried briefly changing the model schema for the comments field to be type
to array
and array => true
to no avail. i'll have to read up on the docs/manual again when I get a chance as a brief look over the lithium core tests didn't reveal anything else.
/slap myself. I misread your reply as 'changes by gwoo', not 'changes to the lithium core, by gwoo'. Apologies for this... Must have been in the morning when I was just awake.
@pointlessjon: I installed Sphere locally with the latest master of the Lithium core. Comments are working properly on MongoDB 2.0, so I'm guessing 'orchestra.io' (configuration) is where the problem lies... Hope this helps.
Seems like since the move to beta (from alpha), comments aren't displayed anymore. At least not for me?