Issue Loading project with SubFlows

Current Behavior

When I load a project, using the project tool, from a github, if a subflow has an installed node in the subflow it does not populate the node as an unknown node.

I was migrating an instance, so I was able to compare the two an notice that it removed the uninstalled node altogether.

Node that I experienced this issue with:
node-red-contrib-string v1.0.0
node-red-node-mongodb v0.2.5

Expected Behavior

I was expecting it to function like existing behavior when a non-default node that isn’t installed yet would populate as an unknown node.

Steps To Reproduce

  1. Create a subflow utilizing a non default node.
  2. Upload the project to github using projects.
  3. Create a new node red server.
  4. Download the project from github using projects.
  5. Investigate the subflow. Unknown nodes not displayed

Example flow

Environment

  • Node-RED version: 3.0.2
  • Node.js version: v16.20.2
  • npm version: 8.19.4
  • Platform/OS: Ubuntu 22
  • Browser: Chrome

Read more here: Source link