Problem
The validate_id.py for a model publish checks whether all nodes at least have an id but they do not ensure all nodes in the instance have a unique id. To reproduce:
- Create a cube,
- save your scene (the cube now gets ids)
- duplicate the cube
- save the scene again (the duplicated cube doesn't get new ids, because it already has some)
- publish
This will publish without errors even though both cubes now cannot be uniquely identified because they share the same id.
Problem
The
validate_id.pyfor a model publish checks whether all nodes at least have an id but they do not ensure all nodes in the instance have a unique id. To reproduce:This will publish without errors even though both cubes now cannot be uniquely identified because they share the same id.