[jira] [Created] (SYNCOPE-373) 500 when self reading admin user

2013-05-27 Thread JIRA
Francesco Chicchiriccò created SYNCOPE-373:
--

 Summary: 500 when self reading admin user
 Key: SYNCOPE-373
 URL: https://issues.apache.org/jira/browse/SYNCOPE-373
 Project: Syncope
  Issue Type: Bug
  Components: core
Affects Versions: 1.1.1
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
 Fix For: 1.1.2


When accessing [1] or [2], an error 500 is returned and the following 
stacktrace is found in the logs:

08:43:48.525 ERROR org.apache.syncope.core.rest.controller.AbstractController - 
Exception thrown by REST methods
java.lang.IllegalArgumentException: Source must not be null
at org.springframework.util.Assert.notNull(Assert.java:112) 
~[spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at 
org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:589) 
~[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at 
org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:571) 
~[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at 
org.apache.syncope.core.rest.data.UserDataBinder.getUserTO(UserDataBinder.java:394)
 ~[UserDataBinder.class:na]
at 
org.apache.syncope.core.rest.data.UserDataBinder.getAuthenticatedUserTO(UserDataBinder.java:100)
 ~[UserDataBinder.class:na]

[1] /syncope/cxf/users/self
[2] /syncope/rest/user/read/self.json


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (SYNCOPE-372) Connector error before save

2013-05-27 Thread Colm O hEigeartaigh (JIRA)
Colm O hEigeartaigh created SYNCOPE-372:
---

 Summary: Connector error before save
 Key: SYNCOPE-372
 URL: https://issues.apache.org/jira/browse/SYNCOPE-372
 Project: Syncope
  Issue Type: Bug
Affects Versions: 1.1.1
Reporter: Colm O hEigeartaigh
 Fix For: 1.1.2



There is an error in Syncope 1.1.1 when creating a new Connector. If you "Check 
Configuration" before saving, you will get an error. The logs say:

SEVERE: Servlet.service() for servlet [syncope-core-rest] in context with path 
[/syncope] threw exception [Request processing failed; nested exception is 
org.apache.syncope.common.validation.SyncopeClientCompositeErrorException: 
{[RequiredValuesMissing [connectorname]]}] with root cause
org.apache.syncope.common.validation.SyncopeClientCompositeErrorException: 
{[RequiredValuesMissing [connectorname]]}
at 
org.apache.syncope.core.rest.data.ConnInstanceDataBinder.getConnInstance(ConnInstanceDataBinder.java:83)

A valid name is present. If you click "Save" and then edit it again + try to 
check the connection again, it works. I'm pretty sure this is a regression. 
Confirmed with both the LDAP + DB Connectors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira