Edge case with loading an Agent with ID NULL in Modeler API plugin
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3542975. -->
Reported by: [jurgenhaas](https://www.drupal.org/user/168924)
Related to !173
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>There is a small chance that an agent ID could be NULL which then tries to load an agent with that ID, which will cause an exception. The code block is there to even check for an available agent with that ID. To prevent the exception from happening, we need to check for the ID being NULL, that will not change the behaviour in any way.</p>
issue