Skip to content

non-string route params dumped as invisible collapsible structure #42

@xpavp03

Description

@xpavp03

My router captures ids in url and passes loaded entities to presenters instead. I noticed that RoutingPanel doesn't show the entities although it dumps them with Dumper::toHtml().

dumped variable invisible

If I comment out the following style at the top of RoutingPanel.panel.phtml:

#tracy-debug .nette-RoutingPanel code .tracy-collapsed {
  display: none;
}

the variable shows in its typical collapsed coating:
and now you see it

I didn't notice any side effects, tested in Firefox.

The commit comment that added display: none; is rather barren: "values are dumped collapsed"

I don't understand how the clickable dump was supposed to unfold when completely invisible. To me this is a bug but maybe I'm just using the panel in some unexpected way :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions