Description of problem:
Now the attachment hooks prevent other types of attachments from uploading when no hwcert-result flag is set, they should take effect only when hwcert-result flag is set.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The related hooks are attachment-before_create.pl attachment-end_of_create.pl bug-get_data.pl, they can prevent attachments which are not results xml from uploading.