Skip to content

LS Script library not compiled correctly when using LS2J #299

@mpradny

Description

@mpradny

I have an agent that calls code from a LS library that internally uses LS2J. There seems to be a problem with compilation - no error is reported, but the code does not run. When the reference to LS2J/Java is removed, compilation works just fine.

I suspect that the problem is caused by the import order

importLotusScriptLibraries(importer, database);
importBasicElements(importer, database);

I think we have changed it to compile Shared Actions correctly, so it will be probably necessary to import java libs separately, before importing LotusScript libraries and then the rest of the basic elements.

I'm attaching a simple odp project with the problem. Just try to run TestAgent after compilation.
odp_ls2jtst.zip

I was running the build with 3.8.1 on 12.0.1 in Docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions