A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Problem with file path in search on UnifiedFileSystem

Vote:
 
I've raised this as a bug, but thought other people may benefit from this: If you use the PageSearch class with Unified file system, ie by specifying a value for the UnifiedSearchLocations property instead of using the MainCatalog and MainScope properties, then if you have whitespace between your folder names, for instance: UnifiedSearchLocations='/upload, /Documents' Then when you issue a search for files, the PageLinkURL property of the returned 'pages' (EPi creates dummy pages for files found in the search) actually returns the filename part of the path doubled up: so instead of /Documents/MyFile.doc, you get /Documents/MyFile.doc/MyFile.doc Lesson is: no spaces between directories specified for UnifiedSearchLocations
#17556
Aug 23, 2006 12:46
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.