#6766 GC image attachments don't get thumbnails

v1.1.0
closed
General
Cory Johns
2015-08-20
2013-10-16
No

I noticed these log lines, which come from the thumbnail code:

21:28:03,179 DEBUG [taskd:forgeimporters.base.import_tool:525f049bd8be351e4fb6dadd:allura.model.filesystem] Content type application/octet-stream from file screenshot_example.jpg not supported
21:28:03,187 DEBUG [taskd:forgeimporters.base.import_tool:525f049bd8be351e4fb6dadd:allura.model.filesystem] Content type application/octet-stream from file xGPS_map.db not supported

We should try to get the mime-type handling better so that thumbnails for images do work.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-10-16
    • summary: GC attachments not getting saved --> GC image attachments don't get thumbnails
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,10 +1,8 @@
    -GC attachments get fetched but aren't persisting in mongo.  I'm pretty sure this is a regression.  I noticed these log lines (which come from the thumbnail code, so aren't necessarily a problem):
    +I noticed these log lines, which come from the thumbnail code:
    
     ~~~~
     21:28:03,179 DEBUG [taskd:forgeimporters.base.import_tool:525f049bd8be351e4fb6dadd:allura.model.filesystem] Content type application/octet-stream from file screenshot_example.jpg not supported
     21:28:03,187 DEBUG [taskd:forgeimporters.base.import_tool:525f049bd8be351e4fb6dadd:allura.model.filesystem] Content type application/octet-stream from file xGPS_map.db not supported
     ~~~~
    
    -But they aren't saving at all.  Compare http://code.google.com/p/gmapcatcher/issues/detail?id=72 and https://sf-dbrondsema-1015.sb.sf.net/p/testit/tickets-gmap/72/
    -
     We should try to get the mime-type handling better so that thumbnails for images do work.
    
     
    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
    • status: in-progress --> code-review
    • Size: --> 1
     
  • Cory Johns - 2013-10-17
    • QA: Cory Johns
     
  • Cory Johns - 2013-10-17
    • status: code-review --> closed
     

Log in to post a comment.