ID 474414 - Collapsed handler error when connecting a Render node to a node graph without a camera

Follow

Problem summary
Connecting a Render node to a node graph that does not contain a CameraCreate (or other camera-creating) node causes an collapsed handler error in the shell.

Customer reported version
katana.n_a

Customer reported platform

Steps to reproduce
  1. Create PrimitiveCreate node
  2. Create Render node
  3. Connect the PrimitiveCreate node to the Render node
Expected behavior
No errors.

Actual behavior
Collapsed handler error in the shell:

[ERROR python.Utils.EventModule]: Error in collapsed event handler __on_port_connect(): AttributeError: Camera '/root/world/cam/camera' not found in scene.
Workaround
Unknown. If known please add steps to workaround or avoid the problem

Reproduced by support
This bug has been reproduced in:
Katana 4.0v4 - CentOS 7
Katana 4.0v1 - CentOS 7

Unable to reproduce bug in:
Katana 3.6v4 - CentOS 7
Katana 3.6v1 - CentOS 7
Katana 3.5v4 - CentOS 7
Katana 3.5v1 - CentOS 7
Katana 3.2v6 - CentOS 7
Katana 3.1v1 - CentOS 7
Katana 3.0v1 - CentOS 7
Katana 2.5v1 - CentOS 7
Katana 2.0v1 - CentOS 7
Katana 1.6v3 - CentOS 7

    We're sorry to hear that

    Please tell us why