Skip to content

[Bug]: Error when calling JavaScript-type Prepared Data Queries. #2177

Description

@PimDev69

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The screenshot below shows a very simple JavaScript-type Data Query (jsInit), which is created in the Workspace. When this Data Query is called as Prepared Data Query in a test-App (T2), an error message "Init run failed: {"code":"FAILED","message":"plugin not found: javaScriptCode"}" is displayed. This is of course a very simple example, but this error happens with every JS Data Query and therefor this is not usable.

Image

Expected Behavior

It is expected that the JavaScript Data Queries that are created in the Workspace, behave identical to all other JavaScript Queries, so that they can be called from any App within the Workspace.

Please fix this bug in the next upcoming release, so that the JavaScript-type Prepared Data Queries can be used in our applications.

Steps to reproduce

This error is very easy to reproduce - as already explained in the Current Behavior:

  1. Create a simple JavaScript-type Data Query in the Workspace.
  2. Create a test-App and add the created Data Query as Prepared Data Query.
  3. Run that query manually and the following error appears:
    "Init run failed: {"code":"FAILED","message":"plugin not found: javaScriptCode"}"

Environment

Selfhosted Lowcoder v2.7.6 at Elestio VM.

Additional Information

This issue has been discussed on Discord, where it was concluded that this is a bug that needs to be fixed - and the solution how to do this, is already mentioned. Refer to the screenshot below, or link to this message:
https://discord.com/channels/1096896040159957084/1096896040650678314/1542920471249690645

Image

Metadata

Metadata

Assignees

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