From dev-return-17345-archive-asf-public=cust-asf.ponee.io@syncope.apache.org Thu Jul 25 11:19:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E6D9D180676 for ; Thu, 25 Jul 2019 13:19:01 +0200 (CEST) Received: (qmail 52870 invoked by uid 500); 25 Jul 2019 11:19:01 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 52849 invoked by uid 99); 25 Jul 2019 11:19:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2019 11:19:01 +0000 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 78682E2F05 for ; Thu, 25 Jul 2019 11:19:00 +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 34B12265EC for ; Thu, 25 Jul 2019 11:19:00 +0000 (UTC) Date: Thu, 25 Jul 2019 11:19:00 +0000 (UTC) From: "Andrea Patricelli (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SYNCOPE-1480) Dynamic realms assignment not updated on dynamic relam condition change MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SYNCOPE-1480?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrea Patricelli updated SYNCOPE-1480: --------------------------------------- Description:=20 # Enable elasticsearch extension and setup ES indexes, etc. # Login as admin to console # Create a dynamic realm with a condition on an USER attribute # Add or change an attribute to an user in order to match that dynamic rea= lm # Check that on ES dynRealms field of the specific user has been populated= with the dynRealm value. # Update dyn realm condition of the dyn realm created at step 3, in order = to *not match anymore* the user at step 4. # Check that on Syncope dynamic realm is no more assigned # On elasticsearch dynRealms field is still populated with the dynamic rea= lm created at step 3. This is due to missing event=C2=A0notification in [https://github.com/apach= e/syncope/blob/syncope-2.0.13/core/persistence-jpa/src/main/java/org/apache= /syncope/core/persistence/jpa/dao/JPADynRealmDAO.java#L114-L119 ] was: # Login as admin to console # Create a dynamic realm with a condition on an USER attribute # Add or change an attribute to an user in order to match > Dynamic realms assignment not updated on dynamic relam condition change > ----------------------------------------------------------------------- > > Key: SYNCOPE-1480 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1480 > Project: Syncope > Issue Type: Bug > Components: core, extensions > Affects Versions: 2.0.13, 2.1.4 > Reporter: Andrea Patricelli > Priority: Major > Fix For: 2.0.14, 2.1.5 > > > # Enable elasticsearch extension and setup ES indexes, etc. > # Login as admin to console > # Create a dynamic realm with a condition on an USER attribute > # Add or change an attribute to an user in order to match that dynamic r= ealm > # Check that on ES dynRealms field of the specific user has been populat= ed with the dynRealm value. > # Update dyn realm condition of the dyn realm created at step 3, in orde= r to *not match anymore* the user at step 4. > # Check that on Syncope dynamic realm is no more assigned > # On elasticsearch dynRealms field is still populated with the dynamic r= ealm created at step 3. > This is due to missing event=C2=A0notification in [https://github.com/apa= che/syncope/blob/syncope-2.0.13/core/persistence-jpa/src/main/java/org/apac= he/syncope/core/persistence/jpa/dao/JPADynRealmDAO.java#L114-L119 > ] -- This message was sent by Atlassian JIRA (v7.6.14#76016)