Closed RayPlante closed 1 year ago
This issue turned out to be more critical than I thought: on the public side, I could fix the offending records, but on the internal publishing side, users can save records that do not have topics or themes, yet. Thus, I decided to go ahead and fix this one myself.
This PR addresses ODD-1069 ("LPS: Topic component throws exception when scheme is missing") in which the implementation of
TopicComponent
'supdateResearchTopics()
assumed the record has bothtopic
andtheme
properties and that atopic
always had ascheme
. This fixes the issue by adding guards that test for their existence.