Revision: 28815 http://sourceforge.net/p/bibdesk/svn/28815 Author: hofman Date: 2024-02-24 23:06:33 +0000 (Sat, 24 Feb 2024) Log Message: ----------- Get path URL from reference URL from relative path, don't keep direct path URL from relative path. It looks like wrongly returning a missing file leads to a continous stream of resolution attempts.
Modified Paths: -------------- trunk/bibdesk/BDSKLinkedFile.m Modified: trunk/bibdesk/BDSKLinkedFile.m =================================================================== --- trunk/bibdesk/BDSKLinkedFile.m 2024-02-24 18:56:44 UTC (rev 28814) +++ trunk/bibdesk/BDSKLinkedFile.m 2024-02-24 23:06:33 UTC (rev 28815) @@ -842,7 +842,7 @@ if (aURL == nil && basePath && relativePath) { aURL = [[NSURL alloc] initFileURLWithPath:[relativePath isAbsolutePath] ? relativePath : [basePath stringByAppendingPathComponent:relativePath] isDirectory:NO]; refURL = [aURL fileReferenceURL]; - aURL = [refURL filePathURL] ?: aURL; + aURL = [refURL filePathURL]; shouldUpdate = refURL != nil; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit