01-23-2010 02:54 AM
01-23-2010 03:42 AM
01-23-2010 03:49 AM
01-23-2010 10:07 AM
Index: projects/web-client/source/java/org/alfresco/web/bean/repository/Preferences.java
===================================================================
— projects/web-client/source/java/org/alfresco/web/bean/repository/Preferences.java (revision 17316)
+++ projects/web-client/source/java/org/alfresco/web/bean/repository/Preferences.java (revision 17317)
@@ -96,7 +96,7 @@
try
{
FacesContext context = FacesContext.getCurrentInstance();
- tx = Repository.getUserTransaction(context, true);
+ tx = Repository.getUserTransaction(context);
tx.begin();
getNodeService().setProperty(this.preferencesRef, qname, value);01-23-2010 01:16 PM
01-23-2010 05:11 PM
Well, Community 3.2r2 is cl 17458, so this fix is already included in r2, but it's still not working. Do I get something wrong here? Regards, RudolfThe fix is on a different branch and hasn't been merged across to HEAD yet.
01-24-2010 05:32 AM
03-29-2010 07:10 AM
03-29-2010 02:53 PM
03-30-2010 03:16 AM
public void setValue(String name, Serializable value)
{
QName qname = QName.createQName("http://www.alfresco.org/model/application/1.0", name);
UserTransaction tx = null;
try
{
FacesContext context = FacesContext.getCurrentInstance();
tx = Repository.getUserTransaction(context);
tx.begin();
getNodeService().setProperty(this.preferencesRef, qname, value);
tx.commit();
cache.put(name, value);
}
catch(Throwable err)
{
.
.
.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.