FlowFuse / FlowFuse/node-red-dashboard

{{msg?.payload} in markdown breaks the entire dashboard

Open
#843 1 comment 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

I mistakenly forgot to close the second bracket pair in:

```
{{msg?.payload}
```

And the entire dashboard vanished, without any hint as to where the error might be.

### Expected Behavior

I should get either a runtime error or an error message rendered in the dashboard

### Steps To Reproduce

Create a markdown node and set the contents to

```
{{msg?.payload}
```

Season to taste, deploy, and try to access the dashboard

### Environment

- Dashboard version: 1.8.1
- Node-RED version: 3.1.9
- Node.js version: whatever is shipping in the `node-red` Docker image
- npm version: whatever is shipping in the `node-red` Docker image
- Platform/OS: macOS
- Browser: doesn't matter. Fails on Edge, Safari, Firefox..

### Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.