Download nupkg from Orchestrator, unzip it, previously if folder names or file names created with space (" "), all spaces become “%20”; in the Studio source code, spaces stay in "Invoke” activity.
Once publish a new release to Orchestrator, running process will be failed at Invoke activity because file path name in Invoke activity cannot match file name or folder name any longer.
This issue didn’t happen before, I’m thinking it’s new bug in UiPath.
To prevent it would be quite easy. Remove all the spaces in your project files. Check your invokes on the renamed projectnames and you should be fine. Publish the package again and upload it to your orchestrator.
I’m aware of that editing the folder and file name one by one to match names in “Invoke” can fix this issue; and also aware of that avoiding to use space in names can prevent from this issue.
I’m sure this new issue, I didn’t see any Uipath document mentioning space is not allowed in naming folder/files, so wondering what root reason caused this? a bug in Uipath?
@vincent2017 did you had this problem on 1 studio workstation, or do you have this on other workstations as well? Got an backup of your previous code/files? Try to see/check the differences. I haven’t seen this behaviour, but we never use spaces in our folders or file names. So i cannot relate to it.
edit: can you explain this part?
download nupkg from [Orchestrator], unzip it…
What do you do with the unzipped / extracted nupkg file?
@jvanmarion We have 3 studio stations on 3 different machines, I had a try on all 3 studios, all have the same issue. Reproduce steps below:
Go to Orchestrator - Package
Find one package and download its nupkg file
Extract source code from nupkg file
Go to extracted folder “lib” - “net45” to see its original source code.
Expected:
When developers created code and published to Orchestrator, folder and file names have space(" "), so when download nupkg and extract source code from nupkg, source code should also have spaces in folder and file names. (I had been using this method for almost 2 years and didn’t see any issue until this one)
Actual:
All spaces in folder or file names become “%20”, which automatically cannot match names in “Invoke” activities. E.g.: in last screenshot file name should be “add queue.xaml”, not “add%20queue.xaml”.
I know it’s not good practice to use space in naming folder or files, but currently I’m worries about that it’s a general and big risk, and potential problem that if any Uipath developers named folders or files with space(" ") in any their projects before, they may have the same issue above.