syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYNCOPE-950) Self-registration / self-update not working
Date Fri, 23 Sep 2016 09:26:20 GMT

    [ https://issues.apache.org/jira/browse/SYNCOPE-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515934#comment-15515934
] 

ASF subversion and git services commented on SYNCOPE-950:
---------------------------------------------------------

Commit a247cc51f7f4964d04dfd61d4042967e2ec99ee3 in syncope's branch refs/heads/master from
[~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=a247cc5 ]

[SYNCOPE-950] Removing readonly property from AttrTO (was useless even before 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ò
>            Assignee: Francesco Chicchiriccò
>             Fix For: 2.0.1
>
>
> SYNCOPE-948 has removed the {{readonly}} field from {{AttrTO}} but the enduser code is
still referencing to it, it seems; in fact, when self-registering or self-updating, the following
error is returned:
> {code}
> Error:  Unrecognized field "readonly" (class org.apache.syncope.common.lib.to.AttrTO),
not marked as ignorable (3 known properties: "schema", "values", "schemaInfo"])
>  at [Source: {"username":"ilgrosso","password":"password123","realm":"/","securityQuestion":"887028ea-66fc-41e7-b397-620d7ea6dfbb","securityAnswer":"Cipollone","plainAttrs":[{"schema":"fullname","values":["Francesco
Chicchiriccò"],"readonly":false},{"schema":"userId","values":["ilgrosso@apache.org"],"readonly":false},{"schema":"loginDate","values":[],"readonly":false},{"schema":"firstname","values":[],"readonly":false},{"schema":"surname","values":["Chicchiriccò"],"readonly":false},{"schema":"ctype","values":[],"readonly":false},{"schema":"email","values":[],"readonly":false},{"schema":"activationDate","values":[],"readonly":false},{"schema":"uselessReadonly","values":[],"readonly":true},{"schema":"cool","values":[false],"readonly":false},{"schema":"gender","values":[],"readonly":false},{"schema":"aLong","values":[null],"readonly":false},{"schema":"makeItDouble","values":[null],"readonly":false},{"schema":"obscure","values":[],"readonly":false},{"schema":"photo","values":[],"readonly":false}],"derAttrs":[{"schema":"cn","values":[],"readonly":true},{"schema":"noschema","values":[],"readonly":true},{"schema":"info","values":[],"readonly":true}],"virAttrs":[{"schema":"virtualReadOnly","values":[],"readonly":true},{"schema":"virtualdata","values":[],"readonly":false}],"resources":[],"auxClasses":[],"memberships":[],"@class":"org.apache.syncope.common.lib.to.UserTO"};
line: 1, column: 1371] (through reference chain: org.apache.syncope.common.lib.to.UserTO["plainAttrs"]->java.util.HashSet[0]->org.apache.syncope.common.lib.to.AttrTO["readonly"])

> {code}
> How could integration tests from SYNCOPE-853 have been passing so far?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message