You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/01/04 11:40:34 UTC

[jira] [Updated] (SLING-3230) UpdateUserTest integration test fails with Oak

     [ https://issues.apache.org/jira/browse/SLING-3230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra updated SLING-3230:
-----------------------------------
    Attachment: SLING-3230.patch

Current {{ChangeUserPasswordServlet}} makes use of implementation details to validate old password (via reflection) and hence was failing with Oak. Instead it can make use of new changePassword method introduced via JCR-3080 to validate the old password directly

Patch for the same. It updates the dependency on JR API to 2.3.0. With this the UpdateUserTest passes

[~asanso] [~bdelacretaz] Would it be fine to apply the patch

> UpdateUserTest integration test fails with Oak
> ----------------------------------------------
>
>                 Key: SLING-3230
>                 URL: https://issues.apache.org/jira/browse/SLING-3230
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: SLING-3230.patch
>
>
> Two tests fail in UpdateUserTest - the cause for the second looks like SLING-3144.
> For now, I'll disable those tests with the JackrabbitOnly category.
> UpdateUserTest.testChangeUserPassword:103 
> expected:<200> but was:<500>
>   UpdateUserTest.testChangeUserPasswordAsUserAdminMemberWithoutOldPwd:185 
> Adding user testUser1383662767745 to group via http://localhost:8888/system/userManager/group/UserAdmin.update.html expected:<200> but was:<500>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)