In some cases, users may have some base dictionary of parameters that they may modify on the fly and use to call self.new_template() in a generator. For some currently unknown reason, when the users modify the base dictionary, the database's cache also gets mutated, so subsequent calls end up using the previously cached value.
Tasks
- Determine the root cause for this problem in the database and post the results here
- Modify
self.new_template() to create a deep copy of the passed dictionary so that this is no longer a problem