# Moving node into Group at the same position doesn't offer to Save Flow

**URL:** <https://discourse.nodered.org/t/moving-node-into-group-at-the-same-position-doesnt-offer-to-save-flow/33257>\
**Category:** General\
**Created:** [24 September 2020 01:01 UTC](https://discourse.nodered.org/t/moving-node-into-group-at-the-same-position-doesnt-offer-to-save-flow/33257 "2020-09-24T01:01:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pitus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pitus/32/28170_2.png) [@pitus](https://discourse.nodered.org/u/pitus)\
**Post date:** [24 September 2020 01:01 UTC](https://discourse.nodered.org/t/moving-node-into-group-at-the-same-position-doesnt-offer-to-save-flow/33257/1 "2020-09-24T01:01:41Z")

</div>

A strange issue I've discovered by accident.

- Create a Group with some nodes
- Copy and paste additional nodes from another Group into this one
- Note how the pasted nodes are not really included in the Group, just layered within the Group outline (to check that you can try selecting one of them and note that the Group will not be selected, just the node, or try moving the Group and the pasted node/s will not move with it)
- Deploy the Flow
- Drag one of these nodes a bit then back to its original position and note the Group outline activate indicating the node is now included in the Group

At this point NR does NOT detect a change and doesn't offer to Save the Flow so one could lose their changes if there's no other activity setting the `dirty` flag and prompting to save the changes.

If the node if move to a new position then its change (in position) is noted and the Flow can be saved, but if it's dropped at the same spot, no change detection happens - I'm guessing that the **Group inclusion is not tested to detect changes**?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 September 2020 08:27 UTC](https://discourse.nodered.org/t/moving-node-into-group-at-the-same-position-doesnt-offer-to-save-flow/33257/2 "2020-09-24T08:27:15Z")

</div>

Also fixed in git - all the same underlying issue as the previous thread you started.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 October 2020 08:27 UTC](https://discourse.nodered.org/t/moving-node-into-group-at-the-same-position-doesnt-offer-to-save-flow/33257/3 "2020-10-08T08:27:24Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
