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 713A6200C40 for ; Thu, 23 Mar 2017 16:05:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6FEB7160B84; Thu, 23 Mar 2017 15:05:49 +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 BCF09160B6F for ; Thu, 23 Mar 2017 16:05:48 +0100 (CET) Received: (qmail 24972 invoked by uid 500); 23 Mar 2017 15:05:47 -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 24956 invoked by uid 99); 23 Mar 2017 15:05:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2017 15:05:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 858F6CCB49 for ; Thu, 23 Mar 2017 15:05:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.349 X-Spam-Level: X-Spam-Status: No, score=-99.349 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id cKyUs9xyJtOH for ; Thu, 23 Mar 2017 15:05:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AE5355FAD1 for ; Thu, 23 Mar 2017 15:05:46 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CA956E06C6 for ; Thu, 23 Mar 2017 15:05:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7DF6C21D9F for ; Thu, 23 Mar 2017 15:05:42 +0000 (UTC) Date: Thu, 23 Mar 2017 15:05:42 +0000 (UTC) From: "Alex Soto (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-5549) Factory component fails to reactivate after config changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Mar 2017 15:05:49 -0000 [ https://issues.apache.org/jira/browse/FELIX-5549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15938530#comment-15938530 ] Alex Soto commented on FELIX-5549: ---------------------------------- bq. I think there may be a different bug, which I suspect is a mistake in the spec. The second condition specifies using the component properties from the component description, i.e. the xml before merging with any configurations, whereas the implementation IIRC uses the properties from merging the xml with configurations. I suspect this is an historical error from not updating the part of the spec dealing with factory components when configuration from config admin was introduced. Are you agreeing that the second condition should be amended to include the configuration? If so, would this mean that the Component Factory Service would need to be registered/unregistered as a response to the configuration changes? Even if only for the case of REQUIRED policy, this would help me a great deal to react to this condition. > Factory component fails to reactivate after config changes > ---------------------------------------------------------- > > Key: FELIX-5549 > URL: https://issues.apache.org/jira/browse/FELIX-5549 > Project: Felix > Issue Type: Bug > Components: Declarative Services (SCR) > Environment: Karaf 4.0.8 > Reporter: Alex Soto > Assignee: David Jencks > > A factory component fails to reactive after the configuration changes. Initially, the component initializes normally. After it is in Active state, the configuration referenced by the component _configurationPid_ changes, which causes the component to not activate again. > A minimal application demonstrating this behavior is available here: > https://github.com/lexsoto/blueprint-ds-config-reload -- This message was sent by Atlassian JIRA (v6.3.15#6346)