The name is not required, so data["name"] may be empty. When data["name"] is empty, get the id value. This patch correct error messages on update network form Change-Id: Icc1b0ad7077dedfea77d6c0225dc2747d7efc1b5