TDI-30554 fix bugs: Error code when change context name
https://jira.talendforge.org/browse/TDI-30554