`get_definitions_by_name()` Inconsistency Bug Evaluation - DevOps-MBSE/AaC GitHub Wiki
We were not able to recreate any inconsistency with get_definitions_by_name() finding definitions with spaces in the name.
We attempted to create several definitions with spaces in the name, load them, and then run get_definitions_by_name() on them. They were found with no issue.
We attempted to create two definitions with the same characters, but with a space in two different places in the name. They both were found with no issue.
We attempted to use special characters in the name, and it failed to parse the definition.
When a string is passed to the get_definitions_by_name() method, the spaces in the name are removed before it searches for the definition. It is possible user error was at fault, or that a recent change inadvertently fixed this issue already.
Future further evaluation of test cases to evaluate proper handling of name fetching is likely to be needed.