Attachments to issues and comments are not appearing on drupal.org. This may be a file issue on the server, e.g., files are missing or moved. Links appear only if the files exist, see these lines in comment.inc:


      if ($comment->file_path && file_exists($comment->file_path)) {
        $summary[] = array(t('Attachment:'), '<a href="/'. file_create_url($comment->file_path). '">'. basename($comment->file_path) .'</a> ('. format_size($comment->file_size) .')');
      }

CommentFileSizeAuthor
#1 Masks_BW.jpg39.06 KBcshields

Comments

cshields’s picture

StatusFileSize
new39.06 KB

Unless this is a seperate issue, I fixed this earlier today. See

http://drupal.org/node/33864 and
http://drupal.org/node/33810

Just to double check I will upload a file with this.

cshields’s picture

Assigned: Unassigned » cshields
Status: Active » Fixed

(fixed)

sheldon rampton’s picture

I don't know if this is related, but there's a problem with downloading a file attachment to an issue that I created:

http://drupal.org/node/33929

When I uploaded a patch named "patch.aggregator2.module", users who tried to download it got an error message that said, "Forbidden: You don't have permission to access /files/issues/patch.aggregator2.module on this server." When I renamed the patch to "aggregator2.module.patch" and re-uploaded it, it worked fine. Apparently there's a problem with downloading files whose names end in ".module".

Anonymous’s picture

Status: Fixed » Closed (fixed)