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 9B62E200BB2 for ; Fri, 23 Sep 2016 11:26:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9A3CB160ACA; Fri, 23 Sep 2016 09:26:22 +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 EC372160AD6 for ; Fri, 23 Sep 2016 11:26:21 +0200 (CEST) Received: (qmail 40059 invoked by uid 500); 23 Sep 2016 09:26:21 -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 39819 invoked by uid 99); 23 Sep 2016 09:26:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 09:26:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BE8082C0451 for ; Fri, 23 Sep 2016 09:26:20 +0000 (UTC) Date: Fri, 23 Sep 2016 09:26:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SYNCOPE-950) Self-registration / self-update not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 23 Sep 2016 09:26:22 -0000 [ https://issues.apache.org/jira/browse/SYNCOPE-950?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D155= 15934#comment-15515934 ]=20 ASF subversion and git services commented on SYNCOPE-950: --------------------------------------------------------- Commit a247cc51f7f4964d04dfd61d4042967e2ec99ee3 in syncope's branch refs/he= ads/master from [~ilgrosso] [ https://git-wip-us.apache.org/repos/asf?p=3Dsyncope.git;h=3Da247cc5 ] [SYNCOPE-950] Removing readonly property from AttrTO (was useless even befo= re SYNCOPE-948) > Self-registration / self-update not working > ------------------------------------------- > > Key: SYNCOPE-950 > URL: https://issues.apache.org/jira/browse/SYNCOPE-950 > Project: Syncope > Issue Type: Bug > Components: enduser > Affects Versions: 2.0.1 > Reporter: Francesco Chicchiricc=C3=B2 > Assignee: Francesco Chicchiricc=C3=B2 > Fix For: 2.0.1 > > > SYNCOPE-948 has removed the {{readonly}} field from {{AttrTO}} but the en= duser code is still referencing to it, it seems; in fact, when self-registe= ring or self-updating, the following error is returned: > {code} > Error: Unrecognized field "readonly" (class org.apache.syncope.common.li= b.to.AttrTO), not marked as ignorable (3 known properties: "schema", "value= s", "schemaInfo"]) > at [Source: {"username":"ilgrosso","password":"password123","realm":"/",= "securityQuestion":"887028ea-66fc-41e7-b397-620d7ea6dfbb","securityAnswer":= "Cipollone","plainAttrs":[{"schema":"fullname","values":["Francesco Chicchi= ricc=C3=B2"],"readonly":false},{"schema":"userId","values":["ilgrosso@apach= e.org"],"readonly":false},{"schema":"loginDate","values":[],"readonly":fals= e},{"schema":"firstname","values":[],"readonly":false},{"schema":"surname",= "values":["Chicchiricc=C3=B2"],"readonly":false},{"schema":"ctype","values"= :[],"readonly":false},{"schema":"email","values":[],"readonly":false},{"sch= ema":"activationDate","values":[],"readonly":false},{"schema":"uselessReado= nly","values":[],"readonly":true},{"schema":"cool","values":[false],"readon= ly":false},{"schema":"gender","values":[],"readonly":false},{"schema":"aLon= g","values":[null],"readonly":false},{"schema":"makeItDouble","values":[nul= l],"readonly":false},{"schema":"obscure","values":[],"readonly":false},{"sc= hema":"photo","values":[],"readonly":false}],"derAttrs":[{"schema":"cn","va= lues":[],"readonly":true},{"schema":"noschema","values":[],"readonly":true}= ,{"schema":"info","values":[],"readonly":true}],"virAttrs":[{"schema":"virt= ualReadOnly","values":[],"readonly":true},{"schema":"virtualdata","values":= [],"readonly":false}],"resources":[],"auxClasses":[],"memberships":[],"@cla= ss":"org.apache.syncope.common.lib.to.UserTO"}; line: 1, column: 1371] (thr= ough reference chain: org.apache.syncope.common.lib.to.UserTO["plainAttrs"]= ->java.util.HashSet[0]->org.apache.syncope.common.lib.to.AttrTO["readonly"]= )=20 > {code} > How could integration tests from SYNCOPE-853 have been passing so far? -- This message was sent by Atlassian JIRA (v6.3.4#6332)