Can someone please confirm if I'm going crazy?
I have a script that checks either a layer's dataSource or catalog path, if it doesn't support dataSource, so then I can repair broken links.
- Find dataSource/catalogpath
- Check spreadsheet for it
- Replace source with corresponding value from the spreadsheet
Here's the thing.
As recently as the 9th of April, is run on a shapefile, it would return "folder\fc.shp"
This morning, it's returning "folder\fc"
So, my question is: Am I going crazy? It worked literally last week. My version of Pro has not changed. My test data has not changed. I'm editing in a copy of the script, and the original that I used to test last week has not changed.
This morning I had to actually add in ".shp" to make the script work on the replacement side, since "folder\fc" doesn't exist but "folder\fc.shp" does.
What is going on?