Skip to content

GitHub issues fixing - #2215

Merged
ludomikula merged 26 commits into
devfrom
github-issues-fixing
Dec 5, 2026
Merged

ludomikula merged 26 commits into
devfrom
github-issues-fixing

Conversation

@ludomikula

Copy link
Copy Markdown
Collaborator

Proposed changes

Fixes for various github reported issues.

Types of changes

What types of changes does your code introduce to Lowcoder?
Put an x in the boxes that apply.

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.
Put an x in the boxes that apply.

  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Further comments

n/a

…p lists and docs

Data sources
- node-service plugins send the headers of the data source and of the query,
  {{ }} expressions in query headers included; DuckDB, Firebird and Firebase,
  which cannot send any, no longer offer the field (#1607)
- SQL results answer whole numbers beyond the JavaScript safe range as strings (#1910)
- SMTP data sources have a TLS mode: STARTTLS when offered (default), STARTTLS
  required, or implicit SSL/TLS (#2112)
- the GraphQL data source form accepts a URL whose host has no dot (#1682)
- the authentication types of the data source forms are translated (#1609)
- Lowcoder API plugin action labels are corrected (#1959, #1955)

Components and scripts
- links in editable table cells work in preview and view (#1778)
- the Google Sheets change-set field follows the selected query (#1649)
- "Allow Custom Tags" works in single select and is offered only where it has an
  effect (#2197)
- utils.resetPassword resolves true on success and rejects on failure (#2034)
- stream queries read binary frames and report frames that are not JSON (#1839)
- permanently hidden columns are not listed in the column chooser (#1983)
- the module component menu no longer offers a playground it does not have (#1953)
- toasts keep line breaks (#2206)

App lists
- the app list and the marketplace show, sort and search the title, falling back
  to the name (#2024, #887)

Documentation
- the OpenAPI document path and the self-hosting quickstart are corrected, and
  CI checks both (#1835, #1774)

Behaviour changes
- large SQL whole numbers are strings instead of rounded numbers
- utils.resetPassword now rejects on failure
- headers saved on node-service data sources and queries now reach the server

Tests: unit tests in client, api-service and node-service, and end-to-end specs
for the fixed behaviour, with opt-in MySQL and SMTPS sidecars.
…r and workspace defects

- bound values follow while actions keep arriving: a running timer no longer
  holds back the redraw of the app, which now happens at least every 100 ms
- a hidden floating button component is not drawn in the published view
- the titles of the two transfer lists are no longer swapped
- Format (Mod-L) works in JSON editors
- the Table Lite column chooser can be opened when it is the only toolbar icon
- a super admin who is the only administrator of a workspace cannot leave it
  (#2164)

Behaviour changes
- an app that swapped its two transfer titles to compensate has to swap them back

Tests: unit tests in client and api-service, and end-to-end specs for the timer,
floating button, transfer and column chooser behaviour.
… data sources

A remote status outside 200-299 returned a successful result holding the error
body. The query now fails with the status, reason and body: the body is cut at
1000 characters, the data source's secrets are masked in it, and it stays out of
the service log.
…Supabase

DynamoDB writes arrays as lists (sets only as typed values), and returns binaries
as base64 and numbers a double cannot hold as strings. Turso returns blobs as
base64 and integers outside the safe range as strings. S3 and Supabase uploads
refuse text that is not base64, and accept a data URL.
Leaving and removal already refused this; changing the role did not. Two
simultaneous changes of the last two admins can still both pass.
…settings

api-service logs a warning at startup while LOWCODER_API_KEY_SECRET is a value
published in this repository, and a signed token without a user id is answered
with 401.

LOWCODER_MAX_REQUEST_SIZE now applies to api-service, the new
LOWCODER_MAX_QUERY_RESPONSE_SIZE (default 20m, as before) limits the answer of a
REST API or GraphQL query, and a size that cannot be read stops the startup.
node-service no longer refuses encrypted requests that are within the limit.

The end-to-end README is updated for this and the three preceding commits.
The cell was drawn empty for any value without a matching option, including free
text in a summary row. The value is now shown as written, as the Select
component does.
The event handlers page had no section on the action. It now says that the script
fails with a SyntaxError shown only in the browser console, and gives the async
wrapper.
… ended session leads to the workspace sign-in

After a form sign-in, sign-up or admin sign-in the client opened the page it had
saved when it sent the visitor away without checking it, so an address on another
site was followed. Only a page of this site is opened now, anything else opens
the home page.

A 401 on a page a signed-in user had open sent the visitor to the general sign-in
page. It now names the user's workspace, which a second 401 arriving after the
sign-out keeps for five seconds.

Refs #1189
…epends on

The query ran 600 ms after its view mounted whether or not a module it calls was
ready, and failed with "module1.method1 is not a function". A module that is still
loading now marks the queries that use it as not ready. A JavaScript page-load
query runs once its dependencies are ready, which also makes one that reads
another page-load query's data run, where it never did. A query that is still
waiting after ten seconds runs anyway.

Refs #483
Table Lite's Select column now renders through the same view as the Table
column, so a value that matches no option is shown as written. The view
also accepts an undefined value.
The form of a JSON Schema Form component was handed the app's data again one
debounced render after the typing. A copy of the typed data counted as changed
fields for the form, which dropped their validation errors, so a submit inside
that window showed no error and ran no handler. The form now keeps the data it
reported until the app's data differs from it, and the container width is held
outside the view so that a width change renders no form.
A cached Flux that was subscribed to again before it had completed could stall
the response of the application, data source, folder, query library and
organization listings when a filter dropped an item. The listings now collect
the whole result before they cache it (FluxHelper.cacheCompletely), and a test
reads the sources to flag a bare cache() at the end of a Flux chain.
…intact

- DynamoDB: lists are written as lists (sets only through typed values), numbers
  beyond the safe integer range are read as strings, binaries as base64, and a
  plain ExclusiveStartKey is wrapped.
- Turso: integers above 2^53 are strings, blobs are base64, and a failed
  statement reports its message instead of an object.
- S3 and Supabase Storage: invalid base64 is rejected (a data-URL prefix is
  stripped), an empty bucket is refused for every operation, and listObjects
  keeps the common prefixes.
- CouchDB: docGet no longer requires an If-None-Match header.
- WooCommerce and n8n: a server URL with a trailing slash no longer gets the
  API path appended twice.
- OpenAPI-runner plugins fail a query on a non-2xx answer with its status and
  body.
… the canvas

The canvas of a module's editor had an id of its own, so overlays were drawn
into the page, covered the whole editor and blocked the insert panel. The
canvas carries the shared canvas container id again, so an overlay is drawn
inside it as in the app editor.
The editor sends, with each save, the id of its page load and the number of the
save within it. The server keeps the last number it accepted for the page load
and refuses an older save (409, code 5310), so a save that was retried or
delayed and reaches the server after a newer one can no longer replace it. A
save without the two parameters is handled as before; a half-sent or invalid
pair is rejected.
…, is not lost

The editor took the first throttled change as its baseline and never sent a save
that failed. It now saves every change, tells the user while a change is not
saved yet, and sends a failed save again with a growing delay while the tab is
open. A refused save (a conflict, a permission) is reported instead of retried.
Each save carries the id of the page load and its number, which the server uses
to refuse an older save that arrives late.

The end-to-end suite drops the retry that hid a lost save and the reporter that
counted it, and gains tests for the retry and for the order of saves.
- Table tests cover the row, cell, expansion and column state of the Table and
  Table Lite components, and each sibling keeps its own state.
- A shared expansion context and the empty-row constant live in their own
  modules, so the table files no longer import each other in a cycle.
- Async rejection checks are awaited, the evaluator test replaces the page's
  fetch so that no request leaves the test, and the navigator mock reports
  online.
…nition is ready

When a module instance was pointed at another module app, it stayed ready with
the previous app's definition, so the queries that wait for modules could run
against it. The instance is now loading again until the definition of the new
app arrives, and a late definition or readiness answer of the previous app is
ignored.

Refs #483
The two new save-order errors had an English text only, which the message key
bundle test reports.
The super admin account is created by a migration that runs after the API
starts, so the API answers 13 to 25 s before the account can sign in. A
sign-in in that window was refused as an invalid email or password, which
failed the super admin, enterprise and takeover tests. The run script now
polls the sign-in from inside the app container, with the password read
from the container's environment and sent on stdin.
…plicate workspace memberships

On a new database the super admin job ran while change set 001 built the unique
index of the relations. The super admin's own sign-in joins the first workspace
in enterprise mode, so it could write a membership row of the same pair between
the job's workspace save and its own membership step; the index build then failed
on the duplicate, the API stopped and the proxy answered 502 until supervisor
restarted it (about one enterprise start in five).

The start-up job is now an application runner ordered after the migration runner
and awaited; a failing setup is logged and the start goes on. The creator's
membership step takes an existing row of the pair and raises its role, never
lowers it, and only a collision of that insert is taken. Change set 001 removes
identical membership rows before it builds the index, so a database that already
aborted starts.
…was a guess

The 502 that the tests' first sign-in met was the API restarting, not the empty
current-user answer the wait covers.
The first start on a machine initialises the data directory, which took 5 min 15 s
on a slow disk; the 2 minute wait failed every test of the module there. With the
longer wait the 23 tests pass.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Deploying lowcoder-cloud with  Cloudflare Pages  Cloudflare Pages

Latest commit: e43f8c7
Status: ✅  Deploy successful!
Preview URL: https://ff6b1ceb.lowcoder-cloud.pages.dev
Branch Preview URL: https://github-issues-fixing.lowcoder-cloud.pages.dev

View logs

@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread server/node-service/src/common/fetch.ts Dismissed
…equest

A module whose app definition fails to preload now logs the failure
instead of leaving a rejected promise unhandled, and no longer marks
the module ready. The three test classes no longer dereference values
Sonar sees as possibly null, and the cached-flux guard replaces a
redundant regex alternative and a nested repetition with a small
parenthesis scanner that accepts the same inputs.
@ludomikula
ludomikula merged commit 9934ae9 into dev Dec 5, 2026
11 checks passed
@ludomikula
ludomikula deleted the github-issues-fixing branch December 5, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants