Issue Details (XML | Word | Printable)

Key: JRA-12667
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Jed Wesley-Smith [Atlassian]
Votes: 0
Watchers: 0
Operations

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

DefaultRoleActor and ProjectRoleActor implementations should not hold references to the ProjectRole and Project objects

Created: 03/May/07 01:16 AM   Updated: 15/May/07 07:13 PM
Component/s: Roles
Affects Version/s: 3.7
Fix Version/s: 3.9.1

Time Tracking:
Not Specified

Participants: Andreas Knecht [Atlassian] and Jed Wesley-Smith [Atlassian]
Since last comment: 1 year, 20 weeks, 5 days ago
Resolution Date: 15/May/07 07:13 PM
Labels:


 Description  « Hide
The interface for these objects has getters for the Project and ProjectRole objects. Currently we cache references to instances of them. While this works at the moment as we only actually use their immutable properties (basically the ID), it means there exists all sorts of potential for problems if the cached versions are accessed after the actual database entities have been modified.

Essentially all we need are the IDs, perhaps consider ProjectID and ProjectRoleID interfaces?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Andreas Knecht [Atlassian] added a comment - 15/May/07 07:13 PM
All references to projects and projectRoles have now been replaced by their IDs.