Non-admin user cannot view attachments from an automated suite
When a user who does not have an admin role attempts to view an attachment from an automated suite, a 500 error is returned :
An exception occured while processing request : http://recette.squashtest.org/squash/backend/file-viewer/attachment/187390/executionlog.txt
org.springframework.dao.InvalidDataAccessApiUsageException: No entity class holder found for attachment list id : 1218448; nested exception is java.lang.IllegalArgumentException: No entity class holder found for attachment list id : 1218448
at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:374) ~[spring-orm-5.3.23.jar!/:5.3.23]
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:235) ~[spring-orm-5.3.23.jar!/:5.3.23]Caused by: java.lang.IllegalArgumentException: No entity class holder found for attachment list id : 1218448