Bug #12219: fixed - Can't copy a template to a new one