Item14527: TopicStubAgent does not clear TEXT when an existing topic is replaced by a stub
Priority: Normal
Current State: Being Worked On
Released In: n/a
Target Release:
TopicStubAgent Line 85 establishes a topic object. When the topic exixsts, it will have $text. This should be cleared because the topic is replaced by a stub.
--
BramVanOosterhout - 09 Nov 2017
It's been a while, but I have finally worked out that the observed behavior is the desired behavior. If the destination topic exists,
TopicStubAgent merges the stub fields with the existing topic. This is consistent with the behavior of
TopicAgent.
To modify the behavior, I propose to add a switch:
replace
to the parameter list of
TopicStubAgent and update
TopicStubAgent to do a Topicsave , instead of a save, removing the text as it does so.
Questions
--
BramVanOosterhout - 15 May 2020