syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SYNCOPE-950) Self-registration / self-update not working
Date Fri, 23 Sep 2016 09:27:20 GMT

     [ https://issues.apache.org/jira/browse/SYNCOPE-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Francesco Chicchiriccò updated SYNCOPE-950:
-------------------------------------------
    Fix Version/s: 2.1.0

> 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, 2.1.0
>
>
> 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