Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17356

Users accounts cannot be enabled/disabled from user profile anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.2, 12.4-rc-1
    • Fix Version/s: 12.4
    • Component/s: None
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Chrome 81, using a local instance XWiki 12.4 RC1 on Oracle 19c, Tomcat 9.0.31
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Create an user (e.g. U1)
      3. Go to the user's profile page
      4. Click 'Disable this account' button
      5. Refresh the page

      EXPECTED RESULTS

      The user's account is disabled. A warning is displayed:

      This account is currently disabled.

      and the button 'Disable this account' changes into 'Enable this account'.

      ACTUAL RESULTS

      Although when clicking 'Disable this account' the green message 'Done' is displayed on the bottom of the page, after the page is refreshed the account is still enabled ('Disable this account' button still available).

      However, the account can be disabled from Administer Wiki > Users & Rights > Users.

      The issue could not be reproduced on XWiki 12.1, neither on XWiki 11.10.5.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: