_updateTemplateDictionaryForError(templateDictionary, itemId): any
Private
In some cases an item id search will return a stale item reference
it will subsequently fail when we try to fetch the underlying service.
We need to remove the item info that has been added to the template dictionary
and treat the item as we do other items that don't already exist on deployment.
Parameters
templateDictionary: any
Hash of facts: org URL, adlib replacements, deferreds for dependencies
In some cases an item id search will return a stale item reference it will subsequently fail when we try to fetch the underlying service.
We need to remove the item info that has been added to the template dictionary and treat the item as we do other items that don't already exist on deployment.