Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users can't vote on IE11 and Edge 17 #17

Closed
ilieandriuta opened this issue Oct 18, 2018 · 1 comment
Closed

Users can't vote on IE11 and Edge 17 #17

ilieandriuta opened this issue Oct 18, 2018 · 1 comment

Comments

@ilieandriuta
Copy link

@ilieandriuta ilieandriuta commented Oct 18, 2018

STEPS TO REPRODUCE

  1. Open XWiki instance with Internet Exporer 11 and/or with Edge 17
  2. Go to Ideas Application
  3. Add an idea
  4. On the idea's page, click on voting buttons (from 'Supporters'/'Opponents' fields and from 'Votes' section)

EXPECTED RESULTS

The user can add a vote for the respective idea or against it.

ACTUAL RESULTS

On IE11 and Edge 17, the voting doesn't work, nothing happens if clicked on voting buttons, even on the Ideas Livetable from the homepage.

@ane-gabriela
Copy link

@ane-gabriela ane-gabriela commented Jan 15, 2019

Tested on XWiki 10.8.3 with Edge 18 and MySQL 5.7 - can't vote and I also get in the console:
2019-01-15 16:46:09,997 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:09,997 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:46:09,998 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:46:09,999 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:10,000 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:46:10,002 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:10,004 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:10,013 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:46:10,031 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:46:10,035 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:46:10,060 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:46:10,063 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:46:10,064 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:46:10,065 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:46:10,069 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:46:10,070 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:46:10,072 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:46:10,080 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:46:10,082 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors. 2019-01-15 16:46:10,085 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null 2019-01-15 16:46:17,942 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:17,943 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:46:17,951 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:46:17,952 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:17,954 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:46:17,958 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:17,962 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:17,966 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:46:17,967 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:46:17,968 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:46:17,969 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:46:17,977 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:46:17,978 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:46:17,982 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:46:17,983 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:46:17,984 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:46:17,985 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:46:17,993 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:46:17,994 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors. 2019-01-15 16:46:17,996 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null 2019-01-15 16:46:34,687 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:34,694 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:46:34,696 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:46:34,697 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:34,701 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:46:34,706 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:34,708 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:34,712 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:46:34,713 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:46:34,717 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:46:34,721 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:46:34,721 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:46:34,726 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:46:34,727 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:46:34,731 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:46:34,735 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:46:34,737 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:46:34,741 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:46:34,744 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors. 2019-01-15 16:46:34,746 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null 2019-01-15 16:46:36,944 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:36,945 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:46:36,949 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:46:36,953 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:36,954 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:46:36,955 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:46:36,956 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:46:36,961 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:46:36,965 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:46:36,966 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:46:36,969 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:46:36,971 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:46:36,974 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:46:36,975 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:46:36,979 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:46:36,980 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:46:36,981 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:46:36,984 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:46:36,990 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors. 2019-01-15 16:46:36,995 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null 2019-01-15 16:51:55,326 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:51:55,327 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:51:55,331 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:51:55,332 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:51:55,334 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:51:55,335 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:51:55,338 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:51:55,339 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:51:55,340 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:51:55,341 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:51:55,342 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:51:55,343 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:51:55,344 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:51:55,345 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:51:55,346 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:51:55,346 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:51:55,347 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:51:55,348 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:51:55,350 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors. 2019-01-15 16:51:55,351 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null 2019-01-15 16:52:05,250 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:52:05,253 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:52:05,254 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:52:05,256 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:52:05,257 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:52:05,258 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:52:05,259 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:52:05,261 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:52:05,261 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:52:05,262 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:52:05,262 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:52:05,263 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:52:05,264 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:52:05,265 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:52:05,269 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:52:05,271 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:52:05,272 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:52:05,274 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:52:05,274 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors. 2019-01-15 16:52:05,276 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null 2019-01-15 16:52:16,128 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:52:16,132 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:52:16,134 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:52:16,135 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:52:16,138 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:52:16,139 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:52:16,140 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:52:16,141 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:52:16,142 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:52:16,142 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:52:16,143 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:52:16,144 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:52:16,144 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:52:16,145 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:52:16,145 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:52:16,146 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:52:16,147 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:52:16,148 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:52:16,151 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors. 2019-01-15 16:52:16,152 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null 2019-01-15 16:52:17,707 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 46, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:52:17,711 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 47, column 42: missing ; before statement. Caused by: [ if($(e).hasClass(voteClass)) {] 2019-01-15 16:52:17,716 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 61, column 12: missing } after property list. Caused by: [ });] 2019-01-15 16:52:17,717 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 62, column 33: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:52:17,718 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 64, column 12: missing ; before statement. Caused by: [ });] 2019-01-15 16:52:17,721 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 79, column 30: syntax error. Caused by: [ voted.forEach( e => {] 2019-01-15 16:52:17,721 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 87, column 35: syntax error. Caused by: [ opponent.forEach( e => {] 2019-01-15 16:52:17,725 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 89, column 14: syntax error. Caused by: [ });] 2019-01-15 16:52:17,726 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 90, column 11: syntax error. Caused by: [ }] 2019-01-15 16:52:17,729 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 91, column 15: syntax error. Caused by: [ } else {] 2019-01-15 16:52:17,730 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 93, column 9: syntax error. Caused by: [ }] 2019-01-15 16:52:17,731 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 94, column 8: syntax error. Caused by: [ },] 2019-01-15 16:52:17,732 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 95, column 14: syntax error. Caused by: [ error : function() {] 2019-01-15 16:52:17,732 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 98, column 7: syntax error. Caused by: [ }] 2019-01-15 16:52:17,733 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 99, column 6: syntax error. Caused by: [ });] 2019-01-15 16:52:17,733 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 100, column 11: invalid return. Caused by: [ return false;] 2019-01-15 16:52:17,734 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 101, column 3: syntax error. Caused by: [ }] 2019-01-15 16:52:17,734 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] WARN c.x.x.w.s.JsExtension - Error at line 110, column 1: syntax error. Caused by: [});] 2019-01-15 16:52:17,735 [http://localhost:8080/xwiki/bin/jsx/Ideas/IdeasClass?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 18 syntax errors.

oanalavinia added a commit to oanalavinia/application-ideas that referenced this issue Feb 6, 2019
* there is no need to wait for a fully loaded DOM and $(document).ready is solving this issue since IE seems not to trigger $(window).onload event
mflorea added a commit that referenced this issue Feb 7, 2019
Users can't vote on IE11 and Edge 17 #17
@oanalavinia oanalavinia closed this Feb 7, 2019
@oanalavinia oanalavinia modified the milestones: 2.0, 1.11.1 Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants