Fix mang-3188: dynamo hangs in opening for some custom node
add regression test case
Merge pull request #1806 from ke-yu/fix_magn3188

Fix mang-3188: dynamo hangs in opening for some custom node