if testplan.TargetBuildID != 0 {
        if err := c.Db.Where("id = ?", testplan.TargetBuildID).First(&build); err.Error != nil {
            log.Error("TestPlan", "type", "database", "msg", err.Error)
            return errors.HttpError{Status: http.StatusInternalServerError, Desc: "An error while finding Build information in TestPlans"}
        }