#1332 Attachments to posts are broken

v1.0.0
closed
sf-4 (350)
Forum
nobody
2015-08-20
2011-01-13
No

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.

Discussion

  • Rick Copeland - 2011-01-18
    • size: --> 2
     
  • Jenny Steele - 2011-01-19
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-01-19
    • status: in-progress --> closed
     

Log in to post a comment.