Re: Request Password Request API Not Working After Upgrade from 2.0.4 to 2.0.6

2017-12-05 Thread justin.isenhour
Francesco, I have reverted all of my previous changes and replaced with your latest set and it appears to be working fine now. Thanks for your support. Thanks, Justin Isenhour -- Sent from: http://syncope-user.1051894.n5.nabble.com/

Re: Request Password Request API Not Working After Upgrade from 2.0.4 to 2.0.6

2017-12-04 Thread ilgrosso
Oops, you're right, there is a mistake in the conditional logic, just fixed with [1] Please revert any other change, and make your UserLogic#resolveReference method look like [2] Regards. [1] https://github.com/apache/syncope/commit/a9cbd25f872e175fa4c4af52502f55c7b8edcdf1 [2]

Re: Request Password Request API Not Working After Upgrade from 2.0.4 to 2.0.6

2017-12-04 Thread justin.isenhour
After further investigation I see the issue. The code I will be referencing is UserDataBinderImpl.java under provisioning-java project. The code we were looking at before, UserLogic will call this classes getUserTO(string key) method. That method in 2.0.4 had logic to get user by either key or

Re: Request Password Request API Not Working After Upgrade from 2.0.4 to 2.0.6

2017-12-04 Thread justin.isenhour
When I debug this locally I see that the UserLogic.resolveReference is getting called, the args objects is an array that contains 2 strings. In my test that looks like this: [use...@place.com, charlotte] index 0 is the username, index 1 is the answer to the security question. The first if

Re: Request Password Request API Not Working After Upgrade from 2.0.4 to 2.0.6

2017-12-04 Thread justin.isenhour
Francesco, I took the code changes from your commit and applied those same changes locally but I am still getting the same error, line number references in UserLogic.java is different due to code changes so I know it is picking up new code. Were there any changes needed other than to

Re: Request Password Request API Not Working After Upgrade from 2.0.4 to 2.0.6

2017-12-04 Thread Francesco Chicchiriccò
Hi, the error below is raised after all operations have been successfully completed, as it can be derived from the stack trace element: org.apache.syncope.core.logic.LogicInvocationHandler.around(LogicInvocationHandler.java:82) This is why the e-mail is effectively sent, as you report.