ilgrosso / oldSyncopeIdM

Exported from Google Code for historical reasons; now at The Apache Software Foundation
http:/syncope.apache.org
Apache License 2.0
1 stars 0 forks source link

Derived Attributes not evaluated #251

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new user (from syncope console with firstname and surname) 
2. Go to Users, select "Change display attributes" in the user table
3. Enable "Fullname" from User derived attributes list
4. Return to user list.
5. Fullname does not appear

What is the expected output? What do you see instead?

I expect fullname expression evaluation (firstname + '.' + surname).
Instead i see a blank field.

What version of the product are you using? On what operating system?

- Product rev: trunk (1305)
- Operative System: x86_64 x86_64 GNU/Linux, 
- JVM: Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
- Apache Tomcat 7.0.22

Original issue reported on code.google.com by denis.si...@gmail.com on 14 Dec 2011 at 6:03

GoogleCodeExporter commented 9 years ago
If you are running "embedded" (i.e. with test data and in-memory H2), fullname 
is NOT a derived schema, but a plain schema, so you shouldn't expect any value 
for it unless you explicitly provide it.

If you are running "real world" (i.e. with an external DBMS), fullname is a 
derived schema but you have to assign it to the user in order to have its value 
populated.

Feel free to ask such generic usage questions in ML 
(syncope-users@googlegroups.com), since the provided documentation at 
http://wiki.syncope-idm.org is still to be completed.

Original comment by chicchiricco on 15 Dec 2011 at 8:16

GoogleCodeExporter commented 9 years ago
I'm running "real world" (Oracle DB). With the information provided it works.

Just assign derived attribute to the user and also provisioning works.

Solved! Not an issue.

Many Thanks,
Denis

Original comment by denis.si...@gmail.com on 16 Dec 2011 at 10:10