[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-06 Thread Andy Seaborne (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14350251#comment-14350251
 ] 

Andy Seaborne commented on JENA-871:


The download button is working in chrome (Chromium : Version 40.0.2214.111 
Ubuntu 14.10 (64-bit)).
It downloads the file in the last format retrieved (JSON, CSV, etc).

The download button was not working for me in Firefox 36.0/Ubuntu until I used 
very aggressive cache clearing.  Having developer tools open set to not cache 
is insufficient, reason unknown.  control-shift-del + only clear the cache 
worked.

 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Assignee: Andy Seaborne
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-06 Thread Andy Seaborne (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14350241#comment-14350241
 ] 

Andy Seaborne commented on JENA-871:


There is a script {{jena-fuseki2/jena-fuseki-core/fuseki-dev}} that should work 
(it may need local alternation - it will ask for a setup step to cache the 
calculated classpath).

I wrap that in a script for local settings to run in $PWD with a {{$PWD/run}} 
directory.
{noformat}
#!/bin/bash

export FUSEKI_HOME=~/Jena/jena-fuseki2/jena-fuseki-core
export FUSEKI_BASE=$PWD/run
if [[ ! -e $FUSEKI_BASE ]]
then
mkdir $FUSEKI_BASE
fi

$FUSEKI_HOME/fuseki-dev $@
{noformat}
You can put customized {{log4j.properties}} in $PWD but this is not necessary.


 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Assignee: Andy Seaborne
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348757#comment-14348757
 ] 

ASF GitHub Bot commented on JENA-871:
-

Github user asfgit closed the pull request at:

https://github.com/apache/jena/pull/40


 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-05 Thread Andy Seaborne (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14348738#comment-14348738
 ] 

Andy Seaborne commented on JENA-871:


The only reliable way to get modifed javascript to run that I have found is 
(chrome  firefox) have the developer tools open, with the disable the cache 
when dev tools open option.

 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-04 Thread Stian Soiland-Reyes (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14347844#comment-14347844
 ] 

Stian Soiland-Reyes commented on JENA-871:
--

The click call has changed in yasr:

https://github.com/YASGUI/YASR/blob/gh-pages/src/main.js#L250

{code}
require('./utils.js').fireClick(downloadMockLink);
{code}
from commit ba8f4195

I tried upgrading to the latest http://cdn.jsdelivr.net/yasr/2.4.12/yasr.min.js
but this does not fix JENA-871. (and does not include the string 'fireClick' - 
but it seems
.min.js versions have rewritten many variables)



 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-04 Thread Stian Soiland-Reyes (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14347851#comment-14347851
 ] 

Stian Soiland-Reyes commented on JENA-871:
--

Using yasr.js straight from https://github.com/YASGUI/YASR/tree/gh-pages/dist 
fixes JENA-871 - but I had to do triple-Ctrl-Refresh for the browser to 
actually load the new javascript -- so it might be that 2.4.12 also fixes it.. 
trying again with super-clean cache.

BTW - is there a better way to debug this than to always mvn clean install and 
going into apache-*fuseki2 and unzipping in target and starting the new server?

 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14347870#comment-14347870
 ] 

ASF GitHub Bot commented on JENA-871:
-

GitHub user stain opened a pull request:

https://github.com/apache/jena/pull/40

JENA-871 upgrade yasr and yasqe

Upgrades yasr to 2.4.12 and yasqe to 2.3.9

Fixes JENA-871 Download Results button.

latest yasr also adds the ability to download the pivot table as a CSV.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/stain/jena JENA-871-upgrade-yasr-and-yasqe

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/40.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #40


commit 8c3f710ae346b94363b848d5994cf3cba543fa54
Author: Stian Soiland-Reyes st...@apache.org
Date:   2015-03-04T23:36:15Z

Updated yasr 2.4.12

from
http://cdn.jsdelivr.net/yasr/2.4.12/yasr.min.js
http://cdn.jsdelivr.net/yasr/2.4.12/yasr.min.js.map
http://cdn.jsdelivr.net/yasr/2.4.12/yasr.css

commit 18c0c7aa3f3bc32ab9138f0b4bc59635fc1af65d
Author: Stian Soiland-Reyes st...@apache.org
Date:   2015-03-04T23:37:29Z

Updated yasqe 2.3.9

From
http://cdn.jsdelivr.net/yasqe/2.3.9/yasqe.min.css
http://cdn.jsdelivr.net/yasqe/2.3.9/yasqe.min.js
http://cdn.jsdelivr.net/yasqe/2.3.9/yasqe.min.js.map




 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-04 Thread Stian Soiland-Reyes (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14347829#comment-14347829
 ] 

Stian Soiland-Reyes commented on JENA-871:
--

The download button works in Chromium 40.0.2214.111 (Developer Build) Ubuntu 
14.10 - but not in Firefox 36.0


 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-04 Thread Stian Soiland-Reyes (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14347860#comment-14347860
 ] 

Stian Soiland-Reyes commented on JENA-871:
--

My fault in not refreshing hard enough - yasr 2.4.12 fixes it. I'm preparing a 
pull request.

 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JENA-871) Fuseki2 UI: Download results button doesn't work

2015-03-04 Thread Stian Soiland-Reyes (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14347830#comment-14347830
 ] 

Stian Soiland-Reyes commented on JENA-871:
--

It has a click event registered both to yasr and jquery.

yasr code  from https://github.com/YASGUI/YASR/blob/gh-pages/src/main.js#L238
{code}
function() {
  var e = t.plugins[t.options.output];
  if (e  e.getDownloadInfo) {
var o = e.getDownloadInfo(),
  i = n(o.getContent(), o.contentType ? o.contentType : text/plain),
  a = r(a/a);
a.attr(href, i);
a.attr(download, o.filename);
a.get(0).click()
  }
}
{code}

 Fuseki2 UI: Download results button doesn't work
 

 Key: JENA-871
 URL: https://issues.apache.org/jira/browse/JENA-871
 Project: Apache Jena
  Issue Type: Bug
  Components: Fuseki
Affects Versions: Fuseki 2.0.0
 Environment: Ubuntu 14.10 x64
 Firefox 35.0
Reporter: Stian Soiland-Reyes
Priority: Minor
 Fix For: Fuseki 2.0.0


 After receiving a SPARQL query result in Fuseki 2 UI, there's a Download 
 button next to Raw response. The button seems to not do anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)