Fixes #5247: forbid to save when Technique name is empty