I would expect to see little pictures under "Contributors" but instead there is just an empty space. Sniff.

No content under contributors.

CommentFileSizeAuthor
Screen Shot 2013-02-19 at 7.14.02 PM.png46.56 KBwebchick
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ezra-g’s picture

Assigned: Unassigned » ezra-g
Priority: Normal » Major

Saddest of sauces.
Assigning to me to start the search and rescue party.

ezra-g’s picture

Title: Group "Contributors" block in teaser view is blank » Demo user avatars created without valid URIs

after some troubleshooting it appears that the default user accounts are created without valid URIs for the user images.

Troubleshooting flow:

- Found that view displays the existing user avatars with no image style applied but all image styles fail to render, without even a broken image URL
- Followed the code flow in views_hanlder_field_user_picture.inc to if (file_valid_uri($picture_filepath)) { failing
- Manually uploaded a new avatar for the "Jeff Noyes" test user, got the error message "The specified file profiles/commons/images/avatars/avatar-jeff_noyes.png could not be deleted, because it is not a valid URI. "

So, we need to change how these images are saved.

ezra-g’s picture

Assigned: ezra-g » japerry

Chatted with japerry and he's going to take a stab at a solution here.

japerry’s picture

Status: Active » Fixed

Fixed!

Required doing some re-writing of the picture upload, the facebook Oath module does it correctly. The method used by the previous code relied on a file already in the upload directory, whereas this code fetches an image from a remote server, even if that remote server is 'localhost'

http://drupalcode.org/project/commons.git/commit/df66a45

ezra-g’s picture

Thanks - Nice work, japerry!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.