New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: CONF-8424
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Agnes Ro [Atlassian]
Reporter: Matt Ryall [Atlassian]
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence

Fix CONF-6733 for RPC method removeGroup()

Created: 02/May/07 07:57 PM   Updated: 04/May/07 12:23 AM
Component/s: Administration, Remote API (SOAP & XML-RPC), Users & Groups
Affects Version/s: 2.3, 2.4, 2.5
Fix Version/s: 2.5.1

Time Tracking:
Not Specified

Participants: Agnes Ro [Atlassian] and Matt Ryall [Atlassian]
Since last comment: 1 year, 16 weeks, 5 days ago
Resolution Date: 04/May/07 12:14 AM
Labels:


 Description  « Hide
Removing a group via RPC that has space permissions throws an exception when visiting the space afterwards. This is caused by the space permissions cache not being updated when the permissions are removed. This was fixed for the web interface in CONF-6733, but not for the RPC method.

Workaround is to flush caches via the web interface after removing the group, or restart Confluence.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Matt Ryall [Atlassian] added a comment - 02/May/07 07:59 PM
Please investigate providing a patch for 2.3.1, if the fix is simple.

Originally raised in https://support.atlassian.com/browse/CSP-8595.


Agnes Ro [Atlassian] added a comment - 04/May/07 12:14 AM
Fixed.

Agnes Ro [Atlassian] added a comment - 04/May/07 12:23 AM - edited
Workaround:
1. Stop Confluence
2. Edit WEB-INF/classes/com/atlassian/confluence/spaces/Space.hbm.xml and remove the cache tag for the following:

<bag name="permissions" lazy="true" inverse="true" cascade="all">
<cache usage="read-write"/> <--- REMOVE THIS LINE
<key column="SPACEID"/>
<one-to-many class="com.atlassian.confluence.security.SpacePermission"/>
</bag>

3. Start Confluence