You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Oliver Strässer (JIRA)" <ji...@apache.org> on 2010/03/08 11:46:27 UTC

[jira] Created: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

wrong reponse header in safari / chrome  - YUI
----------------------------------------------

                 Key: CLEREZZA-154
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
             Project: Clerezza
          Issue Type: Bug
            Reporter: Oliver Strässer


on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 

the is an error only in safari / chrome


my little workaround for me (i don't like it): 
    @Produces("application/json")
    public GraphNode retrieveAssets(){
}




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849255#action_12849255 ] 

Reto Bachmann-Gmür commented on CLEREZZA-154:
---------------------------------------------

Could you give more detail informations, namely it would be crucial to know what accept-header is sent with the ajay request of YUI. as the behaviour is apparently different on safari / Chrome than with other browser the issue might have to do with YUI's ajax implementation rather than clerezza.

> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>
>                 Key: CLEREZZA-154
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>
> on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-154.
---------------------------------------

    Resolution: Not A Problem

the response matches the accept header: Accept: */* so its not a bug server-side, maybe an issue of the used js-library?

> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>
>                 Key: CLEREZZA-154
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>
> on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849259#action_12849259 ] 

Reto Bachmann-Gmür commented on CLEREZZA-154:
---------------------------------------------

just occured to me, you say the response *header* is wrong, but the description sound more like its effectively getting application/rdf+json.

how do you expect application/json to be produced from a graphnode, do you have a scala-server-page registered for that?

> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>
>                 Key: CLEREZZA-154
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>
> on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-154.
---------------------------------------

    Resolution: Incomplete

> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>
>                 Key: CLEREZZA-154
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>
> on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reassigned CLEREZZA-154:
-------------------------------------------

    Assignee: Reto Bachmann-Gmür

> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>
>                 Key: CLEREZZA-154
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>
> on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

Posted by "Oliver Strässer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854921#action_12854921 ] 

Oliver Strässer edited comment on CLEREZZA-154 at 4/8/10 1:02 PM:
------------------------------------------------------------------

in my cases i have a registred scala server page, wich generate the json output. 
you are using a ssp too (asset-list.ssp)

The Request Header of the Safari / YUI: 

GET /admin/digital-asset-manager/retrieve-assets?startIndex=0&count=100 HTTP/1.1
Host: clips.java.getunik.net
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Referer: http://my-secret-host/admin/digital-asset-manager
Accept: */*
Accept-Language: de-DE
Accept-Encoding: gzip, deflate
Connection: keep-alive

The respons header: 
HTTP/1.1 200 OK
Date: Thu, 08 Apr 2010 12:55:19 GMT
Server: Jetty(6.1.x)
Content-Type: application/rdf+json
Keep-Alive: timeout=15, max=37


and the raw data is well formed rdf-json  - the problem  ;-) 
Connection: Keep-Alive
Transfer-Encoding: chunked









      was (Author: osr):
    in my cases i have a registred scala server page, wich generate the json output. 
you are using a ssp too (asset-list.ssp)

The Request Header of the Safari / YUI: 

GET /admin/digital-asset-manager/retrieve-assets?startIndex=0&count=100 HTTP/1.1
Host: clips.java.getunik.net
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Referer: http://clips.java.getunik.net/admin/digital-asset-manager
Accept: */*
Accept-Language: de-DE
Accept-Encoding: gzip, deflate
Connection: keep-alive

The respons header: 
HTTP/1.1 200 OK
Date: Thu, 08 Apr 2010 12:55:19 GMT
Server: Jetty(6.1.x)
Content-Type: application/rdf+json
Keep-Alive: timeout=15, max=37


and the raw data is well formed rdf-json  - the problem  ;-) 
Connection: Keep-Alive
Transfer-Encoding: chunked








  
> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>
>                 Key: CLEREZZA-154
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>
> on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI

Posted by "Oliver Strässer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Strässer reopened CLEREZZA-154:
--------------------------------------


in my cases i have a registred scala server page, wich generate the json output. 
you are using a ssp too (asset-list.ssp)

The Request Header of the Safari / YUI: 

GET /admin/digital-asset-manager/retrieve-assets?startIndex=0&count=100 HTTP/1.1
Host: clips.java.getunik.net
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Referer: http://clips.java.getunik.net/admin/digital-asset-manager
Accept: */*
Accept-Language: de-DE
Accept-Encoding: gzip, deflate
Connection: keep-alive

The respons header: 
HTTP/1.1 200 OK
Date: Thu, 08 Apr 2010 12:55:19 GMT
Server: Jetty(6.1.x)
Content-Type: application/rdf+json
Keep-Alive: timeout=15, max=37


and the raw data is well formed rdf-json  - the problem  ;-) 
Connection: Keep-Alive
Transfer-Encoding: chunked









> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>
>                 Key: CLEREZZA-154
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-154
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
>
> on building a datatable with YUI - application/rdf+json is the return content type (and not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.