• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

waldbaer / node-red-persistent-values / 37673913049
100%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2026 07:22PM UTC
Jobs 4
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Oct 2026 07:21PM UTC coverage: 100.0%. Remained the same
37673913049

push

github

web-flow
Fix value node edit dialog changing the node before Done (#34)

The change handlers of the configuration and value select fields in the
value node's edit dialog wrote the selected configuration name, value ID
and value name directly to the edited node instead of only to the
dialog's hidden input fields. The node therefore changed while the
dialog was still open:

- Switching to a configuration that doesn't contain the selected value
  cleared the node's value reference, so switching back to the original
  configuration selected no value.
- Cancel kept these changes, because Node-RED only discards the input
  fields, not properties written to the node.
- Done records a change only when an input field differs from the node.
  Selecting another value of the same configuration was therefore not
  recorded: the Deploy button stayed disabled and undo was not possible.

The handlers now write only to the input fields, which Node-RED copies
to the node on Done. While the dialog is open, the node keeps its stored
value reference, so the value list selects it again whenever the
selected configuration contains it. With no value selected, Done still
clears the reference and the editor marks the node as invalid, as
before.

The configuration change handler also assigned the undeclared variable
`backendConfig`. Because the editor scripts are not in strict mode, this
created a global `window.backendConfig` that leaked the last loaded
configuration into the whole Node-RED editor. It is now a local `const`.

Verified manually in Node-RED 5.0.7. Includes the OpenSpec change
fix-editor-dialog-state.

173 of 173 branches covered (100.0%)

Branch coverage included in aggregate %.

304 of 304 relevant lines covered (100.0%)

139.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-24.x - 37673913049.1 07 Oct 2026 07:22PM UTC 3
100.0
GitHub Action Run
2 run-20.x - 37673913049.2 07 Oct 2026 07:22PM UTC 3
100.0
GitHub Action Run
3 run-26.x - 37673913049.3 07 Oct 2026 07:22PM UTC 3
100.0
GitHub Action Run
4 run-22.x - 37673913049.4 07 Oct 2026 07:22PM UTC 3
100.0
GitHub Action Run
Source Files on build 37673913049
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2e345989 on github
  • Prev Build on master (#37662644347)
  • Next Build on master (#37676985759)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc