tuankhac / share-extras

Automatically exported from code.google.com/p/share-extras
0 stars 0 forks source link

no configure button for bbc weather #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. d/l the bbc jar file
2. place in tomcat/share/lib folder and restart alfresco
3. add the bbc dashlet - no configure button

What is the expected output? What do you see instead?
expected to see configure button and be able to set my location. the line where 
the configure button is supposed to be is not there at all and the dashlet is 
stuck on london

What version of the add-on are you using? Please provide version of the
downloaded package, or Subversion revision number.
bbc-weather-dashlet-0.1.jar

What version of Alfresco are you using? On what application server?
alfresco-3.4.d

What web browser are you using? Please supply browser name and version.
chromium - 11, firefox - 4.0.1, ie - 9

Please provide any additional information below.
i belive the issue to be related to this load exception:
WARN : org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid 
JavaBean property 'baseUrl' being accessed! Ambiguous write methods found next 
to actually used [public void 
org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.lang.String) 
throws java.net.URISyntaxException]: [public void 
org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.net.URI)]
ERROR: org.springframework.web.servlet.DispatcherServlet - Context 
initialization failed
org.springframework.extensions.config.ConfigException: 04240000 Unable to 
locate evaluator implementation for 'model-type' for 
org.springframework.extensions.config.ConfigSectionImpl@3e043340 
(evaluator=model-type condition=pm:poll replace=false)
        at org.springframework.extensions.config.BaseConfigService.processSection(BaseConfigService.java:457)
        at org.springframework.extensions.config.BaseConfigService.getConfig(BaseConfigService.java:223)
        at org.springframework.extensions.config.BaseConfigService.getConfig(BaseConfigService.java:165)
        at org.springframework.extensions.webscripts.connector.ConnectorService.onApplicationEvent(ConnectorService.java:106)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
        at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:443)
        at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)
        at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)
        at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)
        at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Original issue reported on code.google.com by adispi...@gmail.com on 25 May 2011 at 6:10

GoogleCodeExporter commented 8 years ago
Thanks for filing this issue.

The BBC Weather dashlet can be placed on either a user or a site dashboard. 
Could you try adding it to both types and confirm which one (or both?) the 
configure button fails to work on?

Also, it would be useful to know of any errors are being thrown in the 
client-side code. If you're not sure how to find this out, then the Firebug 
add-on will tell you. You will just need to install it, turn it on when you're 
on the dashboard page and hit refresh.

Original comment by will.abson on 25 May 2011 at 9:37

GoogleCodeExporter commented 8 years ago
i do not have the dashlet in my sites only in user.
as far as i can see there is no error on the client side, it just is not loaded.
firebug shows me the page layout, but no errors or i do not know where to look 
:)

Original comment by adispi...@gmail.com on 25 May 2011 at 12:16

GoogleCodeExporter commented 8 years ago
It happen to me the same on Alfresco Share 4. Are you still working in those 
this issue?

Original comment by epins...@gmail.com on 2 Apr 2012 at 9:26

GoogleCodeExporter commented 8 years ago
Cannot reproduce using latest version from Subversion. Please re-test using the 
0.2 release I have just posted and re-open this ticket if issues persist.

Original comment by will.abson on 18 Jul 2012 at 5:04