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 A4B94200B12 for ; Sun, 29 May 2016 07:14:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 98BA8160A34; Sun, 29 May 2016 05:14:14 +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 1142B160A1A for ; Sun, 29 May 2016 07:14:13 +0200 (CEST) Received: (qmail 34316 invoked by uid 500); 29 May 2016 05:14:13 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 34303 invoked by uid 99); 29 May 2016 05:14:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2016 05:14:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E00B82C14DC for ; Sun, 29 May 2016 05:14:12 +0000 (UTC) Date: Sun, 29 May 2016 05:14:12 +0000 (UTC) From: "Matt Bishop (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-5269) ConfigAdmin Web Console plugin does not display ConfigurationException messages from DS methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 29 May 2016 05:14:14 -0000 Matt Bishop created FELIX-5269: ---------------------------------- Summary: ConfigAdmin Web Console plugin does not display ConfigurationException messages from DS methods Key: FELIX-5269 URL: https://issues.apache.org/jira/browse/FELIX-5269 Project: Felix Issue Type: Bug Components: Configuration Admin Affects Versions: configadmin-1.8.8 Environment: Declarative Services with Metatype annotations Reporter: Matt Bishop Priority: Minor A bit of setup: 1. A Component has methods annotated with DS @Activate/@Modified and takes an @interface-style configuration object. Looks like this: {{@Modified public void modified(MyConfig config) throws ConfigurationException { if (messedUp(config.thing())) { throw new ConfigurationException("thing", "thing is messed up."); } //carry on with configuration } }} 2. User opens up Config Admin web console and sees a nice UI to edit 'thing' field for this component. They edit the field in a way that will trigger the ConfigurationException and then 'save' the config. Expected: Web Console UI shows a failure message, and possibly highlights 'thing' to direct attention to the offending field. Actual: Nothing really. Web Console looks like the config is saved. One note, the exception is logged out. -- This message was sent by Atlassian JIRA (v6.3.4#6332)