Fix to issue spotted by Derek with READ transaction when it may need to be WRITE in User Shortcuts UI.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-01-04 16:54:18 +00:00
parent a1c99bb5f4
commit 3f86a5ad94
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ public class UserShortcutsBean
try
{
FacesContext context = FacesContext.getCurrentInstance();
tx = Repository.getUserTransaction(context, true);
tx = Repository.getUserTransaction(context);
tx.begin();
// get the shortcuts from the preferences for this user

View File

@@ -157,7 +157,7 @@ public final class User
if (nodeService.hasAspect(person, ContentModel.ASPECT_CONFIGURABLE) == false)
{
// create the configuration folder for this Person node
configurableService.makeConfigurable(person);
configurableService.makeConfigurable(person);
}
// target of the assoc is the configurations folder ref