Skip to content

long var dump event gets truncated resulting in an empty payload when loading so the event is not displayed #218

@hanoii

Description

@hanoii

It took me a lot of time to figure this out, although simple I thought the issue might be on my docker compose setup for some reason as I was testing a paralell instance and I saw the events persisting.

What I found is that when the event is really big, it is fully displayed browser, but once refresh the event is gone. I checked on the dotl database and the event is there, only the payload is truncated so the json is now invalid.

See https://pastebin.com/E1jTVS8k

That's the full html I get when I first see the event. Even just output that as a string performs the same behavior.

I saw the readme on VAR_DUMPER_PREVIEW_MAX_DEPTH but my understanding is that will help with the display, not the storing. I can perform a similar limit on my app, but if there is a hard set limit, I would expect some kind of either documentation, or maybe an error on the event page or maybe storing the payload with an error json or something.

If this is not the expected behavior, then this is a bug.

Using the latest version.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions