Error 'Resolving artifact dependencies' after upgrade to version 2022.04.7

We get the below error in a dependent project after installing the recent security patch: 2022.04.7. It seems that it is no longer able to handle ‘%’ in a filename:

Unexpected Error

This was not supposed to happen. Please provide the error details to your TeamCity server maintainer.
If you maintain this TeamCity installation and the request seems legit please report this error to JetBrains.

Error: java.lang.IllegalArgumentException: Invalid encoded sequence "%.reg"


 

Server time: 2024-06-03 16:43:43

TeamCity: 2022.04.7 (build 109063)

Show stacktrace:

http://<our-teamcity-server>/httpAuth/repository/download/Vis_AlphaVisBuildOnly/1019751.tcbuildid/Distributables/Install%20registry%20keys/Local_Machine/64bit/Max%20Cores%20Usage%2080%25.reg#
 

0
3 comments
Hi Kim,

Is my understanding correct that your artifact file name has '%' in it, and it worked before an update to 2022.04.7? And will it work if you change the filename to not include the '%' symbol?
Could you share the screenshots of when you see this error, your artifact dependencies settings, and General Settings > Artifact Paths? You can upload the screenshots to https://uploads.jetbrains.com/ and share the upload ID.

Best regards,
Anton
0

HI Anton

Yes, that is correct, it worked with a ‘%’ in a filename from an artifact dependency.

When I removed the ‘%’ it worked again.

I have uploaded the file to: 

Upload ID: 2024_06_07_FA6tiA7Fd1gKFFM81ysbRd

0
Dear Kim,

I reproduced this behavior on the 2024.03.2 version of TeamCity and created an issue in our issue tracker: https://youtrack.jetbrains.com/issue/TW-88200.
Please upvote and subscribe to it to receive updates.

Best regards,
Anton
0

Please sign in to leave a comment.