Refuse edit job name. and show correct error message while save definition.