On 12/01/2017 14:27, Tech wrote:

Dear experts,

We added the date as custom field, we added it to the BaseUser class and after we added to the USER schema.

During the self registration we are able to display the field, that is correctly displayed as Date (we can also see the calendar button).

We can complete the registration procedure, but the information is not stored into the Database.

We modified the Conversion-Pattern using yyyy-MM-dd, but this changes only the way the data is displayed in the interface, but we can't still store the information into the database.


Hi,
it seems you've spotted a bug in the Enduser UI; I have just performed the following steps:

1. from Admin UI, create new Date schema with conversion pattern 'yyyy-MM-dd' and added to the base type for USER 2. perform self-registration via Enduser UI, provided a value for the new Date attribute 3. open the new user from Admin UI, no value found for the new Date attribute

So, the bug is confirmed.

Moreover, I also did:

4. from Admin UI, set a value for the new Date attribute on the new user
5. log into the Enduser UI as the new user, see the value set from Admin UI, then update the Date schema with a new value
6. from Admin UI, see the new value as provided via Enduser UI

Hence the bug seems to occur only during self-registration.

Would you mind opening an issue onhttps://issues.apache.org/jira/browse/SYNCOPE/ ?

Regards.

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to