cancel
Showing results for 
Search instead for 
Did you mean: 

User Dashboard - no confgure option for RSS dashlet

scottf
Champ on-the-rise
Champ on-the-rise
Hi,
None of the users can configure RSS feed on their user dashboards. It always stays as "Alfresco Global Feed" with no "configure" option.

If a user is a member of a particular site, and is a manager in that site the "configure" option does appear for the RSS feeds on the site dashboard. It just never appears on the user dashboard.

Is this a known issue? How can I configure this? I checked presets.xml but it doesn't seems to have an element for this.

Any help would be appreciated.

Thanks.

Version Info:
#
# Alfresco version information
#

# Version label

version.major=3
version.minor=2
version.revision=0
version.label=r2

# Edition label

version.edition=Community

# Build number

version.build=2440

# Schema number

version.schema=3300
7 REPLIES 7

scottf
Champ on-the-rise
Champ on-the-rise
Anyone else having this problem? Is it even a problem or is it expected behaviour?

gronfelt
Champ in-the-making
Champ in-the-making
I'm only guessing here, but it seems that the User Dashboard version of the RSS Dashlet is broken in version 3.2r (and possibly earlier builds to), changing the configuration only throws an exception (because of a js files that both versions of the dashlet depends on). So my guess would be that the "Configure" option has been removed in 3.2r2 to avoid this behaviour. However, I cannot find anything about that in the JIRA.

Perhaps Mike or anyone else from the Alfresco Share team could shed some light over this?

rays
Confirmed Champ
Confirmed Champ
I've just completed an upgrade from CE 3.2.0 to 3.2r2 today. A previously working RRS Feed dashlet on my personal Share Dashboard now returns the following:


An error has occured in the Share component: /share/service/components/dashlets/rssfeed.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 11140009 Failed to load script '/org/alfresco/components/dashlets/rssfeed.get.js (in classpath store file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 11140008 TypeError: Cannot parse XML: The reference to entity "code" must end with the ';' delimiter. (file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js#36)
Server: Alfresco Community v3.2.0 (r2 2440) schema 3,300
Time: Dec 14, 2009 3:49:40 PM
Click here to view full technical information on the error.
Exception: org.mozilla.javascript.EcmaError - TypeError: Cannot parse XML: The reference to entity "code" must end with the ';' delimiter. (file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js#36)
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3356)
org.mozilla.javascript.xmlimpl.XMLLibImpl.parse(XMLLibImpl.java:411)
org.mozilla.javascript.xmlimpl.XMLLibImpl.ecmaToXml(XMLLibImpl.java:433)
org.mozilla.javascript.xmlimpl.XMLObjectImpl.ecmaToXml(XMLObjectImpl.java:779)
org.mozilla.javascript.xmlimpl.XML.jsConstructor(XML.java:250)
org.mozilla.javascript.xmlimpl.XMLObjectImpl.execIdCall(XMLObjectImpl.java:570)
org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:127)
org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:313)
org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2132)
org.mozilla.javascript.gen.c6._c1(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js:36)
org.mozilla.javascript.gen.c6.call(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js)
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
org.mozilla.javascript.gen.c6._c6(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js:262)
org.mozilla.javascript.gen.c6.call(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js)
org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
org.mozilla.javascript.gen.c6._c0(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js:283)
org.mozilla.javascript.gen.c6.call(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js)
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
org.mozilla.javascript.gen.c6.call(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js)
org.mozilla.javascript.gen.c6.exec(file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:314)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:189)
org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:819)
org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)
org.alfresco.web.scripts.PresentationContainer.executeScript(PresentationContainer.java:60)
org.alfresco.web.scripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:192)
org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
org.alfresco.web.scripts.WebScriptProcessor.executeBody(WebScriptProcessor.java:329)
org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
org.alfresco.web.framework.render.RenderHelper.processComponent(RenderHelper.java:348)
org.alfresco.web.framework.render.RenderUtil.renderRawComponent(RenderUtil.java:451)
org.alfresco.web.framework.render.RenderUtil.renderRawComponent(RenderUtil.java:434)
org.alfresco.web.framework.render.bean.ComponentRenderer.body(ComponentRenderer.java:135)
org.alfresco.web.framework.render.RenderUtil.renderRegionComponents(RenderUtil.java:328)
org.alfresco.web.site.taglib.RegionIncludeTag.doStartTag(RegionIncludeTag.java:43)
org.alfresco.tools.TagUtil.execute(TagUtil.java:147)
org.alfresco.tools.TagUtil.execute(TagUtil.java:81)
org.alfresco.web.scripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:89)
org.alfresco.web.scripts.GenericFreemarkerTagDirective.execute(GenericFreemarkerTagDirective.java:127)
freemarker.core.Environment.visit(Environment.java:261)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.process(Environment.java:188)
freemarker.template.Template.process(Template.java:237)
org.alfresco.web.scripts.PresentationTemplateProcessor.process(PresentationTemplateProcessor.java:185)
org.alfresco.web.scripts.FreemarkerProcessor.executeBody(FreemarkerProcessor.java:266)
org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
org.alfresco.web.framework.render.RenderHelper.processRenderable(RenderHelper.java:284)
org.alfresco.web.framework.render.bean.ChromeRenderer.body(ChromeRenderer.java:60)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.bean.RegionRenderer.body(RegionRenderer.java:134)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.RenderUtil.startRegionRenderer(RenderUtil.java:273)
org.alfresco.web.framework.render.RenderUtil.renderRegion(RenderUtil.java:213)
org.alfresco.web.framework.render.PresentationUtil.renderRegion(PresentationUtil.java:125)
org.alfresco.web.site.taglib.RegionTag.doStartTag(RegionTag.java:109)
org.alfresco.tools.TagUtil.execute(TagUtil.java:147)
org.alfresco.tools.TagUtil.execute(TagUtil.java:81)
org.alfresco.web.scripts.FreemarkerTagSupportDirective.executeTag(FreemarkerTagSupportDirective.java:89)
org.alfresco.web.scripts.RegionFreemarkerTagDirective.execute(RegionFreemarkerTagDirective.java:128)
freemarker.core.Environment.visit(Environment.java:261)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
freemarker.core.Environment.visit(Environment.java:415)
freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)
freemarker.core.Environment.visit(Environment.java:415)
freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Macro$Context.runMacro(Macro.java:164)
freemarker.core.Environment.visit(Environment.java:601)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.IfBlock.accept(IfBlock.java:82)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Macro$Context.runMacro(Macro.java:164)
freemarker.core.Environment.visit(Environment.java:601)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.visit(Environment.java:393)
freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Macro$Context.runMacro(Macro.java:164)
freemarker.core.Environment.visit(Environment.java:601)
freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.MixedContent.accept(MixedContent.java:92)
freemarker.core.Environment.visit(Environment.java:208)
freemarker.core.Environment.process(Environment.java:188)
freemarker.template.Template.process(Template.java:237)
org.alfresco.web.scripts.PresentationTemplateProcessor.process(PresentationTemplateProcessor.java:185)
org.alfresco.web.scripts.FreemarkerProcessor.executeBody(FreemarkerProcessor.java:266)
org.alfresco.web.framework.render.AbstractProcessor.execute(AbstractProcessor.java:85)
org.alfresco.web.framework.render.RenderHelper.processTemplate(RenderHelper.java:423)
org.alfresco.web.framework.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:140)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.bean.PageRenderer.body(PageRenderer.java:81)
org.alfresco.web.framework.render.AbstractRenderer.render(AbstractRenderer.java:105)
org.alfresco.web.framework.render.RenderUtil.startPageRenderer(RenderUtil.java:144)
org.alfresco.web.framework.render.RenderUtil.renderPage(RenderUtil.java:117)
org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:86)
org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:512)
org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:389)
org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:165)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
Exception: org.alfresco.web.scripts.WebScriptException - 11140008 TypeError: Cannot parse XML: The reference to entity "code" must end with the ';' delimiter. (file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js#36)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:324)
Exception: org.alfresco.web.scripts.WebScriptException - 11140009 Failed to load script '/org/alfresco/components/dashlets/rssfeed.get.js (in classpath store file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 11140008 TypeError: Cannot parse XML: The reference to entity "code" must end with the ';' delimiter. (file:/opt/Alfresco32r2/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/rssfeed.get.js#36)
org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:193)

Is this directly related to the issue raised in this thread?

Can I simply replace the offending rssfeed.get.js with the version from 3.2.0 as a means to restore functionality?

Any guidance would be appreciated here. I'm happy to log a bug in JIRA if required.

Thanks, in advance.

<edit>I answered in part my own question on reverting to the rssfeed.get.js from v3.2.0. Doing this avoids the error but there is no way now for the user to configure the dashlet by themselves, so they just end-up with the Alfresco Global Feed default. This looks like a clear case of removing functionality from the end user rather than enhancing the product?</edit>

aristotle_jones
Champ in-the-making
Champ in-the-making
I have an installation that was installed from the Ubuntu 9.4 repos running on 9.10 that has the configure link, while a stock install with the 3.2r2 download from the Alfresco site just simply lacks the configure link.  Kinda stupid to have an RSS reader that only shows one RSS feed isn't it?  I have to conclude that this was done on purpose.

bnordgren
Champ in-the-making
Champ in-the-making
Looks like this is http://issues.alfresco.com/jira/browse/ETHREEOH-3404

Also looks like it was fixed for EE.

mangar
Star Contributor
Star Contributor
I am a new user and I just installed 3.2r.  Is there a work around for this?  Is there a nightly build that has it fixed? I see they fixed it for EE, so  is there a patch?  Even If I have do it manually that fine, but where is the feed URL for each user?

Thanks

pamolendijk
Champ in-the-making
Champ in-the-making
Take a look at rssfeed.get.config.xml

Good luck, Peter