Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Clear cached project entity after edit role
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Aug 14, 2015
1 parent 55751c3 commit 9ccc672
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -120,9 +120,6 @@ public class ProjectHomeAction extends AbstractSortAction implements
@In
private Messages msgs;

// @In
// private ProjectHome projectHome;

@Setter
@Getter
private String slug;
Expand Down Expand Up @@ -760,7 +757,7 @@ public void savePermissionDialogSelections() {
return;
}

HProject project = projectDAO.findById(getProject().getId());
project = projectDAO.findById(getProject().getId());

// Hibernate will have problems working with detached HPerson and HLocale
// so they are all attached before that is attempted.
Expand All @@ -777,6 +774,7 @@ public void savePermissionDialogSelections() {
// Roles may have changed, so role lists are cleared so they will be regenerated
personRoles = null;
personLocaleRoles = null;
project = null;
}


Expand Down

0 comments on commit 9ccc672

Please sign in to comment.