Salesforce

Procedure libraries on PROPATH are searched for as directory entries

« Go Back

Information

 
TitleProcedure libraries on PROPATH are searched for as directory entries
URL NameProcedure-libraries-on-PROPATH-are-searched-for-as-directory-entries
Article Number000114629
EnvironmentProduct: OpenEdge
Version: 11.x, 12.0
OS: Windows
Question/Problem Description
Procedure libraries on PROPATH are searched for as directory entries

When the PROPATH includes a Procedure Library the client AVM treats the library as a directory name while searching.

The client process should not search the propath by constructing search paths from procedure libraries.  

The problem can be seen with Microsoft Process Monitor (https://docs.microsoft.com/en-us/sysinternals/downloads/procmon) that libraries such as 'OpenEdge.Core.pl' are used as directories when searching for r-code to run.

For example in the following image the OpenEdge.Core.pl library is being searched as if it's a directory while searching for ClientBuilder.r:

User-added image

When ClientBuilder.r was not found in OpenEdge.Core.pl, the AVM treats C:\Progress\117\OpenEdge.Core.pl as a directory and looks for C:\Progress\117\OpenEdge.Core.pl\OpenEdge\Net\HTTP\ClientBuilder.r.

The r-code file is not found because the directory obviously does not exist.

This kind of search can impact performance, particularly if it is being performed on a remote drive:

User-added image
 
Steps to Reproduce
Clarifying Information
Error Message
Defect NumberOCTA-13605
Enhancement Number
Cause
When walking the PROPATH looking for .r files, if a PL is encountered and that PL does not contain required .r then the search does not continue on to the next PROPATH entry and instead performs additional searches based on the directory structure of the PL, e.g. \gui\adecomm.pl\OpenEdge\Core\Assert.r.
Resolution
Fixed version(s): 12.1.0.0, 11.7.6.0
Workaround
Notes
Keyword Phrase
Last Modified Date10/23/2023 12:11 PM

Powered by