Skip to content

Validate id doesn't check whether id is unique #2

Description

@BigRoy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions