From dev-return-15335-archive-asf-public=cust-asf.ponee.io@syncope.apache.org Wed Apr 4 14:09:04 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2505E180675 for ; Wed, 4 Apr 2018 14:09:03 +0200 (CEST) Received: (qmail 87496 invoked by uid 500); 4 Apr 2018 12:09:03 -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 87481 invoked by uid 99); 4 Apr 2018 12:09:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2018 12:09:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id CEB1AC0145 for ; Wed, 4 Apr 2018 12:09:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id N-82sYCJ4r2P for ; Wed, 4 Apr 2018 12:09:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E50465F20C for ; Wed, 4 Apr 2018 12:09:01 +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 02688E0D06 for ; Wed, 4 Apr 2018 12:09:01 +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 7666D25618 for ; Wed, 4 Apr 2018 12:09:00 +0000 (UTC) Date: Wed, 4 Apr 2018 12:09:00 +0000 (UTC) From: =?utf-8?Q?Francesco_Chicchiricc=C3=B2_=28JIRA=29?= To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SYNCOPE-1293) Make "token" field searchable again 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-1293?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiricc=C3=B2 updated SYNCOPE-1293: -------------------------------------------- Fix Version/s: 2.1.0 2.0.9 > Make "token" field searchable again > ----------------------------------- > > Key: SYNCOPE-1293 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1293 > Project: Syncope > Issue Type: Bug > Components: common > Affects Versions: 2.0.8 > Reporter: DmitriyB. > Priority: Minor > Fix For: 2.0.9, 2.1.0 > > > Reset password notification may contain "about" value with a "filter" pro= perty. > And "token" field of a "UserTO" may be used in a fiql query of password = reset notification. > E.g.=C2=A0{{token!=3D$null}}=C2=A0query can be used as a filter value JP= AAnyAbout entity which is a part of JPANotification entity. > If token field is not searchable for UserTO object, then SearchCondVisito= r#createAttributeCond(final String schema) creates AttributeCond object ins= tead of AnyCond object, and therefore NotificationManagerImpl skips passwor= d reset notification and doesn't process it correctly (look at line 344 in= =C2=A0[https://github.com/apache/syncope/blob/master/core/provisioning-java= /src/main/java/org/apache/syncope/core/provisioning/java/notification/Notif= icationManagerImpl.java]). > Link to conversation in git: > [https://github.com/apache/syncope/commit/7b168c142b09c3b03e39f1449211e7= ddf026a14d] -- This message was sent by Atlassian JIRA (v7.6.3#76005)