noosfero | Image thumbnails not being displayed on wall activities (#274)

Rodrigo Souto gitlab at mg.gitlab.com
Wed Jun 21 15:58:24 BRT 2017


New Issue was created.

Issue 274: https://gitlab.com/noosfero/noosfero/issues/274
Author:    Rodrigo Souto
Assignee:  

Some activities are not displaying the imagem thumbnail (displaying the page with the little clock) even though the image thumbnails were already loaded.

![ola-activities-loading-image](/uploads/a452a5d11c4fe709f44e8806e30f0d31/ola-activities-loading-image.png)

Didn't try to reproduce a local environment.

Here is the activity object:
```
#<ActionTracker::Record id: 6260, user_id: 811, user_type: "Profile", target_id: 438654, target_type: "Article", params: {"name"=>"Reunião com Sebrae e CAR", "url"=>{:host=>"ola.coop.br", :profile=>"alberto", :controller=>"content_viewer", :action=>"view_page", :page=>["blog", "reuniao-com-sebrae-e-car"]}, "lead"=>"<p>O Superintendente da OCEB e do Sescoop/BA, acompanhado da gerente geral da OCEB, estiveram reunidos com o Sebrae e a CAR para tratarem de assuntos do </p>", "first_image"=>"/images/icons-app/image-loading-thumb.png"}, verb: "create_article", created_at: "2017-06-20 17:27:31", updated_at: "2017-06-20 17:27:31", comments_count: 0, visible: true>
```

Looks like the activity is saving the `first_image` when the thumbnail is still being generated. Maybe this should be a dynamic reference instead of a static one.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/issues/274
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170621/7e44267f/attachment.html>


More information about the Noosfero-dev mailing list