Skip to content

The PM fails to recognize existing plugin's directory in the prefix if it contains as slash #34

@SebastianAdams

Description

@SebastianAdams

The PluginsManagerLauncher program attempts to modify the config.bbj file to include the pluginsHome folder in the PREFIX.

However, the comparison on line 221 checks to see if directory$ = pluginsHome$ is always failing because the directory$ variable includes a trailing slash which is not present in the pluginsHome$ variable.

Since most prefix entries typically do include a trailing slash, the program incorrectly reports that the prefix needs to be modified to include the pluginsHome$ folder.

[3]/u/basis/bbj/plugins/PluginManagerLauncher.bbj>/221,223
                if directory$ = pluginsHome$ then
                    methodret Boolean.TRUE
                endif
[3]/u/basis/bbj/plugins/PluginManagerLauncher.bbj>?directory$
/u/basis/bbj/plugins/
[3]/u/basis/bbj/plugins/PluginManagerLauncher.bbj>print pluginsHome$
/u/basis/bbj/plugins

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions