Rick Copeland
-
2011-01-18
- size: --> 2
Trying to attach a file to post which goes by any artifact (ticket, wiki page) leads to no attachment appearance in the post (at all, not just that thumbnail is broken for example).
This happens both on live site and in dev. Looking into mongo on localdev, an attachment is created with artifact_id like:
{ "_id" : ObjectId("4d2f6b45ec5eb46f5a000025"), "artifact_id" : "d76c94fb9b12343768209114d10d740ae610f202.wiki@test.p.sourceforge.net", "post_id" : null, "filename" : "1.jpg",
While it's declared as:
class BaseAttachment(File): artifact_id=FieldProperty(S.ObjectId)
Attachments directly to a ticket go ok.
Log in to post a comment.