lenra-io/server

[Bug]: Listener call returns an error

Offen

#573 geöffnet am 07.01.2024

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Elixir (0 Forks)auto 404
buggood first issue

Repository-Metriken

Stars
 (6 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

What happened?

I was testing the template-bun on this commit : https://github.com/lenra-io/template-bun-js/commit/3e1067122107e3fdebb48e1aed3fa02b29a98048

It seems that when opening the application page, you can't click more than once on the increment button. An error occurs and if you wait a little (5 seconds), it will actually register the event properly. If you let time for the app page to initialise, this error does not occur.

https://github.com/lenra-io/lenra_cli/assets/36544012/d48c72cc-ce45-4611-8b7d-ee92f3a1572e

LOGS

Client

Error: Expected a value of type 'String', but got one of type 'Null'
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3       throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 127:3       castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 818:12  cast
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 674:17                as
packages/client_common/api/response_models/api_error.dart 14:17                   fromJson
packages/lenra_ui_runner/io_components/lenra_route.dart 47:26

What browsers are you seeing the problem on?

No response

Version

No response

Relevant log output

No response

Contributor Guide