CAST HIGHLIGHT - Analyzer - Unable to detect file extension if there are multiple dots in the file name

Multiple dots in the file name, confuses the scanner to detect extensions. Because of this extensions are not getting detected and the files for the technology are getting ignored.

 

e.g. The files for SQL technology gets ignored for Filename: ABC.NAME.XYZ.SQL

 

Workaround

Please use the below commands to convert the dot in the file to underscore and then add, .tsql extension, to make the scanner successfully recognize the files which has multiple dots.

e.g. Filename: ABC.NAME.XYZ.SQL

 

Launch the command window and navigate to the folder that contains the file:

 

Get-ChildItem -File | Rename-Item -NewName {$_.Name -replace '\.', '_'}

 

so the filename will be: ABC_NAME_XYZ_SQL

 

Get-ChildItem -File | Rename-Item -NewName { $_.Name + ".tsql" }

 

now the filename will be: ABC_NAME_XYZ_SQL.tsql

 

Definite Solution

 

R&D is working on improving the file extension detection when there are multiple dots in the filename.

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

 

 

Zendesk Ticket Number 

 

48607

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk