Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B6CE7200BEC for ; Thu, 29 Dec 2016 13:44:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B5732160B2D; Thu, 29 Dec 2016 12:44:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3298F160B15 for ; Thu, 29 Dec 2016 13:44:59 +0100 (CET) Received: (qmail 84811 invoked by uid 500); 29 Dec 2016 12:44:58 -0000 Mailing-List: contact issues-help@eagle.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.apache.org Delivered-To: mailing list issues@eagle.apache.org Received: (qmail 84796 invoked by uid 99); 29 Dec 2016 12:44:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2016 12:44:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 55B3A2C022B for ; Thu, 29 Dec 2016 12:44:58 +0000 (UTC) Date: Thu, 29 Dec 2016 12:44:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@eagle.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (EAGLE-687) When creating sites in UI and metadata storaged as jdbc, the field "Description" can't be null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Dec 2016 12:44:59 -0000 [ https://issues.apache.org/jira/browse/EAGLE-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785258#comment-15785258 ] ASF GitHub Bot commented on EAGLE-687: -------------------------------------- Github user haoch commented on the issue: https://github.com/apache/eagle/pull/758 @r7raul1984 could you please help review this PR? > When creating sites in UI and metadata storaged as jdbc, the field "Description" can't be null > ----------------------------------------------------------------------------------------------- > > Key: EAGLE-687 > URL: https://issues.apache.org/jira/browse/EAGLE-687 > Project: Eagle > Issue Type: Bug > Reporter: Lingang Deng > Priority: Minor > Fix For: v0.5.0 > > > When creating sites in UI and metadata storaged as jdbc, the field "Description" can't be null, or we will get error > {code} > ERROR [2016-10-26 15:54:24,554] org.apache.eagle.metadata.store.jdbc.JDBCMetadataMetadataStoreServiceImpl: Error to insert batch: INSERT INTO sites (siteid, sitename, description, createdtime, modifiedtime, uuid) VALUES (?, ?, ?, ?, ?, ?) > ! java.sql.SQLException: No value specified for parameter 6 > {code} > The filed "Description" is checked in the background. So whether this field can be empty or validated in the front end , it's elective. -- This message was sent by Atlassian JIRA (v6.3.4#6332)