When a given run contains a "producer" value (usually an URL pointing to build systems), the run details page can crash when displaying this run in cases when the previous or baseline runs do not contain a valid value for the "producer" field.
It is possible to see the following error message:
... File "/sandbox/lnt/server/ui/filters.py", line 47, in filter_producerAsHTML if not producer: jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'producer'
This change prevents the UI to crash when "producer" is not found. It also adds a test change to capture this situation.
I was confused by the name "check_table_row_content", not sure what this function was doing based on the name.
After reading the implementation, I guess "check_row_is_in_table" is a better name?