hassio-addons / addon-node-red

Node-RED - Home Assistant Community Add-ons
https://addons.community
MIT License
513 stars 117 forks source link

Trying to restore just one flow and it restores all flows and nodes #1820

Closed wrmacj closed 3 months ago

wrmacj commented 4 months ago

Problem/Motivation

Trying to retore one flow and it always restores all flows

(Why the issue was filed)

Expected behavior

(What you expected to happen) I expect if I select one flow and one flow only(hunt for red october...) that it would only retore that one flow.

Actual behavior

(What actually happened) It restores all flows that are included in the flows file. In this instance the xxxflows.json file is an export of all flows on a specific date.

Steps to reproduce

Export all flows to a local export. Then try to import just one flow Select import>Select the file you want to import from Select view nodes and then select just one file to restore Select import "selected" Suddenly I imported 35 flows and 1109 nodes..... Not at all what I wanted. image

image

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it) Node-red 17.0.4 Core 2024.1.6 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!