[
https://issues.apache.org/jira/browse/SYNCOPE-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104816#comment-16104816
]
ASF subversion and git services commented on SYNCOPE-1175:
----------------------------------------------------------
Commit 98ab61e060a4045720b6d09e1392404ac461b7df in syncope's branch
refs/heads/2_0_X from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=98ab61e ]
[SYNCOPE-1175] Fixing token generation
> Password Reset Token Generation Not Working After Upgrading to 2.0.4
> --------------------------------------------------------------------
>
> Key: SYNCOPE-1175
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1175
> Project: Syncope
> Issue Type: Bug
> Components: core, enduser
> Affects Versions: 2.0.4
> Reporter: Justin Isenhour
> Assignee: Francesco Chicchiriccò
> Priority: Critical
> Fix For: 2.0.5, 2.1.0
>
>
> When I make a REST call to the User Self confirmPasswordReset API for a users
> I am getting a JPA persistence error. It seems that it is not able to save
> the User object because of the token value, see value below. I just recently
> upgrade to 2.0.4, prior to the upgrade this was working. Because of this all
> password reset functionality is impacted.
> *JPA Exception:*
> Caused by: org.apache.openjpa.persistence.PersistenceException: Incorrect
> string value: '\xF0\xA2\xA8\xAC\xEA\x92...' for column 'token' at row 1
> {prepstmnt 1197754412 UPDATE SyncopeUser SET lastChangeDate = ?, lastModifier
> = ?, token = ?, tokenExpireTime = ? WHERE id = ?} [code=1366, state=HY000]
> *Generate Token Value:*
> ખ३¹ֽ··߀½낵◭羐쒵࢙ꤿ쇟ॷ¬Ꮈ䥡ࡱ梭縶=夾¥¼㷓ߎ¡ॎ¯ં«イ॓ᵲ㏉ચ¶认짃ㄘੰܪ㠄멼饖뵣ࢪ§डµ櫆ꄳ㋏ࢡ
> ਡ⋨¯搘級籰녣헶੶·䬇࠼¸҉뫫Ӈॠࡁ씜҅몋뚧цࣈ㧤㈰ং¸﮷ࣅឹ櫚ࠟ¢ঘૈꇽঀ©⤠ਪ¸顉宏ৈ䚻兮蠥胳鏏યਤ¦¼ੂऌથ°䰱ज±ओ¥뱐ਸº剾Є¿ટ
>
> ֦ºਚ¼ࡦ㦘¤ૉ㌳ꋂ㴹걲জ¿쨐व´ਭ§«࡞¢ࡵ⥮ਜ¯晶৫ू¬ッ࣓म¶ࡉ긱ঈ¼ú뵳N쩸L鎹ࣺএ丠䆵ɥ檵ইº³䌻峨躾च²뱛ਚ륋斴¶꼲݉ݍ«䅯媍¼║ࡥ½쐬ࡤણ·鸼ࡡ°݆¬ॾ曻狤鹳५¯ਨᏅਾº࣒³伡༽♦쪕㙳韍ऑ´さબ릊띸뚒Ҍ¤㗆ੴ㯙ৈ♥뛂赗놚੫¥屑퓐䂍簇踬濡¹£稹ृ±沽쪿´㞿忟뾑甝ꈰࡻ¡➢ࡨª媉֨ঃ৴ⱚࢪ®ࡰਉ燈ෝ∯ঘ¦邈¾ࣕӏ䐯埨넰ࡋਫ਼ࣈªࡺ龚婁錄
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)