pillais1 / share-extras

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

sitepoll dashlet #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
-Add the jar to the tomcat/shared/lib 
-restart alfresco 
-drag sitepoll dashlet to dashboard 
-click configure (I should configure a poll datalist first but i didn't in this 
case) 
-Dialog box opens: Select poll 
-There isn't a poll because I didnt configure one; if you click cancel you 
return to dashboard. 
-When you click OK it throws a nasty error:

Internal error:
05110003 Failed to execute script 
'classpath:alfresco/site-webscripts/org/alfresco/modules/dashlet/config-dashlet.
post.json.js': 05110002 TypeError?: Cannot call method "length" of null 
(file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts
/org/alfresco/modules/dashlet/config-dashlet.post.json.js#5)

Using 3.4.0 Enterprise 

What is the expected output? What do you see instead?
Nothing, the OK button should prolly be greyed out, or display msg that there 
isn't any poll configured yet 

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

site-poll-dashlet-0.4.1

What version of Alfresco are you using? On what application server?
3.4.0. enterprise; tomcat

What web browser are you using? Please supply browser name and version.
IE 8 and mozilla

Please provide any additional information below.

Original issue reported on code.google.com by peter.a....@gmail.com on 12 Jun 2011 at 5:56

GoogleCodeExporter commented 9 years ago
Everything else works great btw

Original comment by peter.a....@gmail.com on 12 Jun 2011 at 5:58

GoogleCodeExporter commented 9 years ago
Fixed in r448

Original comment by will.abson on 13 Jun 2011 at 10:10

GoogleCodeExporter commented 9 years ago
Fixed in r448

Original comment by will.abson on 13 Jun 2011 at 10:10