[midPoint] REST user create and user template

Katka Valalikova katkav at evolveum.com
Tue Aug 11 10:49:51 CEST 2015


Hi Anton, 

it is a bug. I created Jira . It will be fixed in the next release. 

Regards, 
Katarina 

----- Original Message -----

From: midpoint at mybtinternet.com 
To: "midpoint" <midpoint at lists.evolveum.com> 
Sent: Friday, July 31, 2015 7:02:05 PM 
Subject: [midPoint] REST user create and user template 

Hi, 

I have a user template that generates, among other things, the name and fullName attribute values based 
on givenName and familyName. When creating a user through the UI and supplying only those 2 values, 
the user is successfully created with name and familyName. 

If I do the same using REST and XML, this fails with: 
2015-07-31 17:12:01,022 [] [http-bio-127.0.0.1-8080-exec-30] WARN (org.apache.cxf.phase.PhaseInterceptorChain): Application {http://impl.model.midpoint.evolveum.com/}ModelRestService has thrown exception, unwinding now 
org.apache.cxf.interceptor.Fault: Object name must not be null or empty. 

#------------------ 
<user xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3'> 
<givenName>Donald</givenName> 
<familyName>Duck</familyName> 
</user> 
#------------------ 

In this case, it seems the user template was not used. If I do add a name field, the fullName is generated 
as expected. Would this be a bug on enhancement request? Btw, 3.1.1 ... maybe this was already fixed in 
new development? 

Regards, 
Anton 



_______________________________________________ 
midPoint mailing list 
midPoint at lists.evolveum.com 
http://lists.evolveum.com/mailman/listinfo/midpoint 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150811/54fcba53/attachment.htm>


More information about the midPoint mailing list