. Added new default DNS domain for web-client-config as per instructions from Jon

. Added additional setup logging to actions that deal with content

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-10-03 16:34:01 +00:00
parent 2d261f31f7
commit 1308eaeacc
3 changed files with 9 additions and 1 deletions

View File

@@ -67,7 +67,7 @@
<from-email-address>alfresco@alfresco.org</from-email-address> <from-email-address>alfresco@alfresco.org</from-email-address>
<!-- WCM domain and port for virtualisation server --> <!-- WCM domain and port for virtualisation server -->
<wcm-domain>alfresco.dyndns.org</wcm-domain> <wcm-domain>127-0-0-1.ipaddr.alfresco-software.com</wcm-domain>
<wcm-port>8180</wcm-port> <wcm-port>8180</wcm-port>
</client> </client>
</config> </config>

View File

@@ -635,6 +635,8 @@ public class AVMBrowseBean implements IContextListener
{ {
if (path != null && path.length() != 0) if (path != null && path.length() != 0)
{ {
if (logger.isDebugEnabled())
logger.debug("Setup content action for path: " + path);
AVMNodeDescriptor node = avmService.lookup(-1, path, true); AVMNodeDescriptor node = avmService.lookup(-1, path, true);
setAVMNodeDescriptor(node); setAVMNodeDescriptor(node);
} }

View File

@@ -42,6 +42,8 @@ import org.alfresco.web.bean.repository.Repository;
import org.alfresco.web.templating.OutputUtil; import org.alfresco.web.templating.OutputUtil;
import org.alfresco.web.templating.TemplatingService; import org.alfresco.web.templating.TemplatingService;
import org.alfresco.web.ui.common.Utils; import org.alfresco.web.ui.common.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/** /**
* Bean backing the edit pages for a AVM node content. * Bean backing the edit pages for a AVM node content.
@@ -50,6 +52,8 @@ import org.alfresco.web.ui.common.Utils;
*/ */
public class AVMEditBean public class AVMEditBean
{ {
private static Log logger = LogFactory.getLog(AVMEditBean.class);
private static final String MSG_ERROR_UPDATE = "error_update"; private static final String MSG_ERROR_UPDATE = "error_update";
private static final String MSG_UPLOAD_SUCCESS = "file_upload_success"; private static final String MSG_UPLOAD_SUCCESS = "file_upload_success";
@@ -213,6 +217,8 @@ public class AVMEditBean
// retrieve the content reader for this node // retrieve the content reader for this node
NodeRef avmRef = AVMNodeConverter.ToNodeRef(-1, getAvmNode().getPath()); NodeRef avmRef = AVMNodeConverter.ToNodeRef(-1, getAvmNode().getPath());
if (logger.isDebugEnabled())
logger.debug("Editing AVM node: " + avmRef.toString());
ContentReader reader = contentService.getReader(avmRef, ContentModel.PROP_CONTENT); ContentReader reader = contentService.getReader(avmRef, ContentModel.PROP_CONTENT);
if (reader != null) if (reader != null)
{ {