Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9035

bucket.user.DefaultUserAccessor.getMemberNames(com.atlassian.user.Group) returns stale result after bucket.user.DefaultUserAccessor.removeMembership(String, String)

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • None
    • 2.5.4
    • None
    • OSUser repository

      The query for member names after the removal of a member from a group returns stale result (as if the member was not removed at all). This only occurs if:

      • Membership removal and membership query of a group occurs within the same transaction (same Hibernate session).
      • The group being modified has 3 or more members.

      The repository being used is the OSUser repository.

        1. csp10371.tar.gz
          24 kB
          Gary Weaver
        2. csp10371-1.0.0.jar
          6 kB
          Gary Weaver
        3. TestMacro.java
          6 kB
          Gary Weaver

            [CONFSERVER-9035] bucket.user.DefaultUserAccessor.getMemberNames(com.atlassian.user.Group) returns stale result after bucket.user.DefaultUserAccessor.removeMembership(String, String)

            Gary Weaver added a comment - @StefanBaader Will respond to that question in https://answers.atlassian.com/questions/12159592/in-custom-space-user-management-plugin-a-user-cant-be-removed-from-a-space-group

            We also and still have that issue, using CONF 5.5
            I asked the community here on Jan 23 2015: https://answers.atlassian.com/questions/12159592/in-custom-space-user-management-plugin-a-user-cant-be-removed-from-a-space-group
            But nobody replied.

            Stefan Baader added a comment - We also and still have that issue, using CONF 5.5 I asked the community here on Jan 23 2015: https://answers.atlassian.com/questions/12159592/in-custom-space-user-management-plugin-a-user-cant-be-removed-from-a-space-group But nobody replied.

            Hi dchui

            Thanks for taking the time to raise this issue. This issue has been on our backlog for 7 years now with very little progress being made in that time. Rather than leave this here i am going to close this issue as won't fix. I believe that this better reflects the status of this issue.

            If the issue is raised again in the future we'll re-address it.

            Regards
            Steve HAffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi dchui Thanks for taking the time to raise this issue. This issue has been on our backlog for 7 years now with very little progress being made in that time. Rather than leave this here i am going to close this issue as won't fix. I believe that this better reflects the status of this issue. If the issue is raised again in the future we'll re-address it. Regards Steve HAffenden Confluence Bugmaster Atlassian

            attaching same plugin (jar), maven 2 project (tar.gz), and test code used to replicate bug.

            Gary Weaver added a comment - attaching same plugin (jar), maven 2 project (tar.gz), and test code used to replicate bug.

            Note that the workaround for this bug is to do a reload/redirect to the same page so that you get a different session.

            Gary Weaver added a comment - Note that the workaround for this bug is to do a reload/redirect to the same page so that you get a different session.

            Attached a lot of code to reproduce, logs, and screenshot to https://support.atlassian.com/browse/CSP-10371

            Gary Weaver added a comment - Attached a lot of code to reproduce, logs, and screenshot to https://support.atlassian.com/browse/CSP-10371

              shaffenden Steve Haffenden (Inactive)
              dchui DavidA
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: