#29759 edit, template becomes empty