seiif / share-extras

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

Site Poll Dashlet failing in IE8 #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a Poll in Data Lists
2. Add the Site Poll Dashlet to Dashboard and select Poll
3. Poll name appears, but there are no options available. If you vote in a 
different browser, you can view the results.

What is the expected output? What do you see instead?
You should see the list of poll option buttons, however none appear.

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.jar also occured in 0.3

What version of Alfresco are you using? On what application server?
Windows 2003 with Alfresco Community Edition 3.4d

What web browser are you using? Please supply browser name and version.
I.E. 8

Please provide any additional information below.
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; 
.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 
3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 26 May 2011 21:29:38 UTC

Message: Object doesn't support this property or method
Line: 1
Char: 1859
Code: 0
URI: http://share.example.com/share/res/extras/components/dashlets/poll-min.js

Original issue reported on code.google.com by ed.mann...@gmail.com on 26 May 2011 at 9:37

GoogleCodeExporter commented 8 years ago
Hi Ed, the error message is helpful but unfortunately I can't relate this to 
the source code as your Share instance is using the compressed version of the 
JavaScript files.

Could you turn on client-side JavaScript debugging as specified in 
http://blogs.alfresco.com/wp/kevinr/2010/04/07/developer-tips-for-alfresco-share
-33/ (section Debugging client-side JavaScript) and try the poll again?

You should see the error in your browser then references poll.js instead of 
poll-min.js and a line number should be shown.

Thanks,
Will.

Original comment by will.abson on 27 May 2011 at 2:09

GoogleCodeExporter commented 8 years ago
Thanks for the response Will,
I've enabled the client-side debugging.

Error is:
Line: 215
Error: Object doesn't support this property or method

Which is: 
var now = Date.now();

Regards,
Ed.

Original comment by ed.mann...@gmail.com on 27 May 2011 at 4:22

GoogleCodeExporter commented 8 years ago
Thanks Ed, this should be fixed in v0.4.1 of the dashlet

Original comment by will.abson on 31 May 2011 at 12:22