coralproject / pillar

Deprecated: Service layer for the Coral ecosystem
Other
4 stars 1 forks source link

Parents / Children anomalies #105

Closed jde closed 8 years ago

jde commented 8 years ago

Consider this comment:

unspecified-12

Expected behavior

This comment should have one parent

Actual behavior

{ "_id" : ObjectId("5733acbd10780b24c8420933"), "user_id" : ObjectId("5733acbd10780b24c8420932"), "asset_id" : ObjectId("573261b110780b7199f10a55"), "root_id" : ObjectId("5733acbd10780b24c8420933"), "parents" : [ ObjectId("5733acbd10780b24c8420933"), ObjectId("5733acbd10780b24c8420933"), ObjectId("5733acbd10780b24c8420933"), ObjectId("5733acbd10780b24c8420933") ], "body" : "sounds like you have a tough row to how. So sorry for all your troubles, and I can understand why you don't want to go to any more doctors. Any chance you could see one outside of your usual geographic area? Sometimes even going 45 minutes further could take you into an area where doctors aren't as chummy with the previous doctors you saw. Just a thought. ", "status" : "Untouched", "date_created" : ISODate("2015-09-30T03:10:57.000+0000"), "date_updated" : ISODate("2015-09-30T03:10:57.000+0000"), "tags" : [ "style" ], "metadata" : { "source" : "washpost.com", "tags" : [ "replyto_Jasatt2" ] }, "source" : { "id" : "http://washingtonpost.com/ECHO/item/fa54a08a-3dfd-4bc9-9590-09882e98ef6a", "user_id" : "http://washingtonpost.com/lVT0b7rabmF9ndaJhWlxlewKrkvbT4tmVyJgOC1LXCRoGeVxxhJF5A%3D%3D/", "asset_id" : "http://washingtonpost.com/lifestyle/style/carolyn-hax-stubborn-60-something-parent-refuses-to-see-a-doctor/2015/09/24/299ec776-5e2d-11e5-9757-e49273f05f65_story.html", "parent_id" : "http://washingtonpost.com/ECHO/item/6302f39b-55e0-44a0-9e84-bbe8c0b62d58" } }

samshub commented 8 years ago

The fix for this was integrated as a part of Issue #100. See commit 08ea0dd04ee8cf6720919a3eae577ecbff197ede.