You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the building the encoded request for dependencies, if a file path contains a space it is encoded as %20 and stored. This means that when it comes to resolving files to combine, the framework is unable to process this file as a local file because the call to File.Exists(...) will fail and the dependency is excluded from the output.
As part of debugging it locally I was able to fix the issue by updating BaseCompositeFileProcessingProviders WritePathToStream method on line 137 to include path = path.Replace("%20", " ");. Obviously this will not work going forward as having %20 in your filename is valid (but maybe weird), but fixes it in my case.
Is there a better place for this fix to be applied? I'm not massively familiar with the inner workings of CDF and maybe wondered if there was something to be done in the BaseFileMapProvider?
Any advice is greatly appreciated
The text was updated successfully, but these errors were encountered:
As part of the building the encoded request for dependencies, if a file path contains a space it is encoded as
%20
and stored. This means that when it comes to resolving files to combine, the framework is unable to process this file as a local file because the call to File.Exists(...) will fail and the dependency is excluded from the output.As part of debugging it locally I was able to fix the issue by updating BaseCompositeFileProcessingProviders
WritePathToStream
method on line 137 to includepath = path.Replace("%20", " ");
. Obviously this will not work going forward as having %20 in your filename is valid (but maybe weird), but fixes it in my case.Is there a better place for this fix to be applied? I'm not massively familiar with the inner workings of CDF and maybe wondered if there was something to be done in the BaseFileMapProvider?
Any advice is greatly appreciated
The text was updated successfully, but these errors were encountered: