[ 
https://issues.apache.org/jira/browse/JENA-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376296#comment-16376296
 ] 

David Cook commented on JENA-1480:
----------------------------------

What's IIUC?

I am confident that the Jquery is not encoding the curly brackets. As I 
mentioned before, [http://api.jquery.com/jquery.getjson/] seems to suggest that 
only the data parameter gets url encoded. I don't know that debugging the 
unminified jquery is going to be too helpful in this case except in proving 
that. I think it would be more interesting to look at changing the Fuseki use 
of Jquery to see if sending the URL parameters via the data parameter would 
work better.

It seems that this is a documented issue with newer Tomcat instances: 
[https://bz.apache.org/bugzilla/show_bug.cgi?id=60594.
]

At a glance, I think my version of Tomcat might be too old to contain the 
workaround they've released... and I'm on a LTS version of Ubuntu.

> Bad Request 400 returned when clicking "count triples in all graphs" in 
> Fuseki info
> -----------------------------------------------------------------------------------
>
>                 Key: JENA-1480
>                 URL: https://issues.apache.org/jira/browse/JENA-1480
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>    Affects Versions: Jena 3.7.0
>            Reporter: David Cook
>            Priority: Minor
>         Attachments: error.html
>
>
> When I click "count triples in all graphs", the UI doesn't change and I see 
> the following in the Chrome console:
> {noformat}
> GET 
> <FUSEKI_URL>/query?query=select%20(count(*)%20as%20?count)%20\{?s%20?p%20?o}
> 400 (Bad Request)
> jquery-1.10.2.min.js:6
> {noformat}
> I've experienced this in Fuseki 2.6.0 when using the WAR too. I'm also using 
> the "tdb:unionDefaultGraph true" configuration setting.
> I've used someone else's install of Fuseki 2.5.0 and it works for them. I 
> don't think they're using "tdb:unionDefaultGraph true", and I'm not sure if 
> they're using the WAR or a standalone. Since there is no Server: 
> Apache-Coyote response header, I'm guessing they're using the standalone. I 
> don't know if that would make a difference. 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to