Article - CS424161

"Upload of file 'depends' is not allowed" on upgrade or "Upload of file '<tracker name>' is not allowed" errors on Codebeamer

Modified: 09-Oct-2024   


Applies To

  • Codebeamer 2.2.0.0 to 2.2.0.1
  • Codebeamer 2.0 to 2.0.0.5
  • Codebeamer 2.1.0.0 to 2.1.0.3

Description

  • Symptoms:
    1. Upgrade to Codebeamer 2.2.0.1 , 2.1.0.3 or 2.0.0.5 fails
      • The user interface shows the following error:
"Upload of file 'depends' is not allowed"
  • The server logs print the following error:
WARN codebeamer.transaction.TransactionSupportImpl - Action failed [main] [1] {Req#=StartUp, Sess#=StartUp, serverId=server} com.intland.codebeamer.event.FileUploadException:
Upload of file 'depends' is not allowed.
 at com.intland.codebeamer.security.uploadfilters.UploadFilter.validateIfUploadOfFileAllowed(UploadFilter.java:187) ~[cb-2.1.0.3-SNAPSHOT.jar:?] [...]
FATAL codebeamer.context.CodebeamerApplicationInitializer - Transaction rolled back because it has been marked as rollback-only [main] [1] {Req#=StartUp, Sess#=StartUp, serverId=server} org.springframework.transaction.UnexpectedRollbackException:
Transaction rolled back because it has been marked as rollback-only
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:870) ~[spring-tx-5.3.27.jar:5.3.27]
  1. When trying to create a new tracker after upgrade, the following error appears:
"Upload of file '<tracker name>' is not allowed."
This is a printer-friendly version of Article 424161 and may be out of date. For the latest version click CS424161