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 5DF0F200CED for ; Thu, 13 Jul 2017 12:19:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5C9B416BD25; Thu, 13 Jul 2017 10:19:26 +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 96F1116BD24 for ; Thu, 13 Jul 2017 12:19:25 +0200 (CEST) Received: (qmail 66305 invoked by uid 500); 13 Jul 2017 10:19:24 -0000 Mailing-List: contact issues-help@fineract.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@fineract.apache.org Delivered-To: mailing list issues@fineract.apache.org Received: (qmail 66244 invoked by uid 99); 13 Jul 2017 10:19:22 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 10:19:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B2885F16B5; Thu, 13 Jul 2017 10:19:22 +0000 (UTC) From: nazeer1100126 To: issues@fineract.apache.org Reply-To: issues@fineract.apache.org References: In-Reply-To: Subject: [GitHub] fineract pull request #380: (FINERACT-241) Include "Add Note" to Savings Tra... Content-Type: text/plain Message-Id: <20170713101922.B2885F16B5@git1-us-west.apache.org> Date: Thu, 13 Jul 2017 10:19:22 +0000 (UTC) archived-at: Thu, 13 Jul 2017 10:19:26 -0000 Github user nazeer1100126 commented on a diff in the pull request: https://github.com/apache/fineract/pull/380#discussion_r127179728 --- Diff: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/data/SavingsAccountTransactionDataValidator.java --- @@ -94,6 +95,9 @@ public void validate(final JsonCommand command) { final BigDecimal transactionAmount = this.fromApiJsonHelper.extractBigDecimalWithLocaleNamed(transactionAmountParamName, element); baseDataValidator.reset().parameter(transactionAmountParamName).value(transactionAmount).notNull().positiveAmount(); + + final String note = this.fromApiJsonHelper.extractStringNamed(noteParamName, element); --- End diff -- Note can not be mandatory data. So ignore if it is null --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---