Tridion UI - 预览未更新 [英] Tridion UI - Preview Not Updating

查看:30
本文介绍了Tridion UI - 预览未更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我根据 http://sdllivecontent.sdl.com/.除了更新预览"功能外,所有似乎都在工作.对组件进行更改后,页面正确显示预览已过期,但单击更新预览"按钮重新加载页面,除了显示相同的警告此页面的预览不是最新的"外,没有错误".

Today I have installed Tridion UI according to the documentation on http://sdllivecontent.sdl.com/. All seems to be working with the exception of "Update Preview" function. After making a change to a component the page correctly shows that the preview is out of date but clicking the "Update Preview" button reloads the page with no error other than the same warning being displayed "The preview for this page is not up to date".

我看到还有另一篇与此相关的帖子(Tridion 新 UI 预览站点不会反映更改,除非已发布) 但我没有使用任何虚拟目录.

I see there is another post related to this (Tridion New UI Preview Site is not reflecting with the changes unless pulished) but I am not using any virtual directories.

我已经解决了我在日志中发现的警告和错误,只留下一个警告(在部署者和临时站点上):

I have worked my way through warnings and errors I discovered in the logs to be left with only one warning (both on the deployer and staging site):

2012-07-05 19:44:25,085 WARN AmbientDataContext - 当前没有环境数据上下文 - 环境数据框架未正确初始化

2012-07-05 19:44:25,085 WARN AmbientDataContext - There is no current ambient data context - the ambient data framework is not properly initialised

启用调试日志记录后,我看到 AmbientDataContext 只是默认为 com.tridion.ambientdata.web.WebContext,我认为这是正确的?

with debug logging enabled I see AmbientDataContext just defaults to com.tridion.ambientdata.web.WebContext which I assume is correct?

有时会显示会话清理错误 - 但不确定这是否与问题有关:

Occasionally, a session cleanup error will be displayed - not sure if this is related to the problem though:

<代码>$2012-07-05 19:52:55,300 错误 SessionManagerImpl - 会话过期后无法清理会话存储!com.tridion.broker.StorageException:清理会话数据时出现异常:发生回滚,未删除.,尝试使用空实体创建删除事件,尝试使用空实体创建删除事件,发生回滚,没有t删除., 尝试用空实体创建删除事件, 尝试用空实体创建删除事件, 发生回滚, 没有删除., 尝试用空实体创建删除事件, 尝试用空实体创建删除事件在 com.tridion.storage.persistence.session.SessionWrapperFactory.cleanupSessionData(SessionWrapperFactory.java:154) ~[cd_session.jar:na]在 com.tridion.storage.session.SessionManagerImpl.expireSession(SessionManagerImpl.java:415) [cd_session.jar:na]在 com.tridion.storage.session.SessionManagerImpl.performCleanup(SessionManagerImpl.java:231) [cd_session.jar:na]在 com.tridion.storage.persistence.session.SessionsCleanerMonitor.run(SessionsCleanerMonitor.java:54) [cd_session.jar:na]在 java.lang.Thread.run(Unknown Source) [na:1.6.0_26]2012-07-05 19:52:55,300 错误 SessionsCleanerMonitor - 无法执行会话清理.将在 120000 毫秒后重试.com.tridion.storage.persistence.session.SessionHandlingException:会话过期后无法清理会话存储:清理会话数据时发生异常:发生回滚,未删除.,尝试使用空实体创建删除事件,尝试使用空实体创建删除事件,发生回滚,未删除.,尝试使用空实体创建删除事件,尝试使用空实体创建删除事件,发生回滚,未删除.,尝试创建删除事件使用空实体,尝试使用空实体创建删除事件,清理会话数据时出现异常:发生回滚,未删除.,尝试使用空实体创建删除事件,尝试使用空实体创建删除事件,回滚发生,未删除.,尝试使用空实体创建删除事件,尝试使用空实体创建删除事件,发生回滚,未删除.,尝试使用空实体创建删除事件,尝试创建删除前夕nt 与空实体,清理会话数据时发生异常:发生回滚,未删除.,尝试使用空实体创建删除事件,尝试使用空实体创建删除事件,发生回滚,未删除., 尝试用空实体创建删除事件, 尝试用空实体创建删除事件, 发生回滚, 没有删除., 尝试用空实体创建删除事件, 尝试用空实体创建删除事件在 com.tridion.storage.session.SessionManagerImpl.expireSession(SessionManagerImpl.java:444) ~[cd_session.jar:na]在 com.tridion.storage.session.SessionManagerImpl.performCleanup(SessionManagerImpl.java:231) ~[cd_session.jar:na]在 com.tridion.storage.persistence.session.SessionsCleanerMonitor.run(SessionsCleanerMonitor.java:54) ~[cd_session.jar:na]在 java.lang.Thread.run(Unknown Source) [na:1.6.0_26]

任何帮助将不胜感激?不知道还能尝试什么.

Any help would be greatly appreciated? Not sure what else to try.

谢谢

菲尔

推荐答案

问题是发布属性中的发布路径"和发布 URL"值不正确.恢复为默认值后,它现在可以工作了 - 非常感谢 Tridion PS.

The issue turned out to be incorrect "Publication Path" and "Publication URL" values within the publication properties. After reverting back to default values it now works - big thanks to Tridion PS for this.

这篇关于Tridion UI - 预览未更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆