Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: robot-plugin
-
Labels:None
-
Environment:Jenkins 1.642, Robot Framework plugin 1.6.2
-
Similar Issues:
-
Released As:2.1.2
Description
When trying to open Robot Framework log (or report) I get an error in my browser:
"...
Opening Robot Framework log failed
Verify that you have JavaScript enabled in your browser.
Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended.
Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug.
..."
I am using Firefox v. 43 where javascript.enabled is true.
EDIT:
Per Daniel Beck in this comment, a possible solution to study is used in Cucumber-plugin: https://github.com/jenkinsci/cucumber-reports-plugin/pull/66/files
Attachments
Issue Links
- is duplicated by
-
JENKINS-32077 Javascript errors
-
- Closed
-
-
JENKINS-62027 I am unable to view the log.html or report.html file because of javascript error messages
-
- Closed
-
-
JENKINS-38338 Opening Robot Framework report failes
-
- Closed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | robot-plugin [ 15773 ] | |
Component/s | _unsorted [ 19622 ] |
Assignee | Oleg Nenashev [ oleg_nenashev ] | jpiironen [ jpiironen ] |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Link |
This issue duplicates |
Comment |
[ hi guys. i am still facing this issue, after updating the java options, as suggested above: echo $JENKINS_JAVA_OPTIONS -Dhudson.model.DirectoryBrowserSupport.CSP="sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;" any idea would be really appreciated. ] |
Assignee | jpiironen [ jpiironen ] | Tarik Remous [ tarik_remous ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Comment |
[ For resolve your problem you must : - Connect on your jenkins url (http://[IP]:8080/) - Click on administer Jenkins - Click on consol jenkins - Copy this into the field and execute : {color:#d04437}_System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;")_{color} ] |
Comment |
[ For resolve your problem you must : Connect on your jenkins url (http://[IP]:8080/) Click on administer Jenkins Click on consol jenkins Copy this into the field and execute : _{color:#d04437}*System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;")*{color}_ ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Workflow | JNJira [ 167601 ] | JNJira + In-Review [ 186336 ] |
Comment |
[ Same problem. I tried your workaround and it works on Firefox, Internet Explorer and Edge, but it doesn't work on chrome. ] |
Link |
This issue is duplicated by |
Attachment | Selection_243.png [ 35127 ] |
Summary | Opening Robot Framework log failed | Document Jenkins security settings so Robot Framework log/report can be opened |
Priority | Major [ 3 ] | Critical [ 2 ] |
Description |
When trying to open Robot Framework log (or report) I get an error in my browser: "... Opening Robot Framework log failed Verify that you have JavaScript enabled in your browser. Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended. Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug. ..." I am using Firefox v. 43 where javascript.enabled is true. |
When trying to open Robot Framework log (or report) I get an error in my browser: "... Opening Robot Framework log failed Verify that you have JavaScript enabled in your browser. Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended. Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug. ..." I am using Firefox v. 43 where javascript.enabled is true. EDIT: Per [~danielbeck] in [this comment|#comment-268226], a possible solution to study is used in Cucumber-plugin: https://github.com/jenkinsci/cucumber-reports-plugin/pull/66/files |
Remote Link | This issue links to "CloudBees Internal OSS-904 (Web Link)" [ 18804 ] |
Attachment | JENKINS-32118.png [ 42256 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Closed [ 6 ] |
Assignee | Tarik Remous [ tarik_remous ] | jpiironen [ jpiironen ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Link |
This issue is duplicated by |
Released As | 2.1.2 | |
Assignee | jpiironen [ jpiironen ] | Aleksi Simell [ aleksisimell ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |