gklyne / admiral-jiscmrd

Automatically exported from code.google.com/p/admiral-jiscmrd
MIT License
0 stars 0 forks source link

Browser-specific Databank problems #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Submit a Dataset using IE or Safari

What is the expected output? What do you see instead?

Submission appears to work OK, but dataset metadata cannot be displayed.

Further investigation needed:

1a. Submit using Firefox, and check submission is OK
1b. Attempt to view dataset using IE and/or Safari.

2a. Submit using IE/Safari
2b. Attempt to view dataset using Firefox

(Expected results is that the problem occurs when accessing a daaset, not 
during submission)

Original issue reported on code.google.com by bhavana....@gmail.com on 1 Mar 2011 at 4:39

GoogleCodeExporter commented 8 years ago
Need to perform additional tests to confirm whether or not these are databank 
problems

Original comment by bhavana....@gmail.com on 1 Mar 2011 at 4:54

GoogleCodeExporter commented 8 years ago
Details copied from Issue 1 may be relevant here:

Yesterday I notified you about all links working properly on all
browsers. But there is one exception. Of all the pages only one page
does not appear properly on Safari and Google Chrome.

Just wanted to bring to your notice that the page:
Example:
https://zoo-admiral-ibrg.zoo.ox.ac.uk/admiral-test/datasets/TestUser1
ie.
(ADMIRAL proxies the above link to
http://databank.ora.ox.ac.uk/admiral-test/datasets/TestUser1
)

is not displaying properly on Safari and Google Chrome but works fine on
Firefox.

This I guess is because of the content negotiation proble between
ADMIRAL and Databank.

Firefox displays properly as the returned data from Databank comes as
html.
Safari does not display properly as the data from the Databank comes as
json.

Find below the traces from Wireshark. Please note the order of the
accept headers which is causing a problem.

Firefox
-------
HTTP    GET /admiral-test/datasets/TestLeader HTTP/1.1 
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
\r\n

Safari
-------
HTTP    GET /admiral-test/datasets/TestUser1 HTTP/1.1 
Accept: application/xml,application/xhtml
+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n

Original comment by bhavana....@gmail.com on 3 Mar 2011 at 4:24

GoogleCodeExporter commented 8 years ago
When this is closed, review Issue 1 with a view to closing it.

Original comment by bhavana....@gmail.com on 3 Mar 2011 at 4:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Investigation Results:-
------------------------

1a. Submit using Firefox, and check submission is OK  -  Result: Works fine!
1b. Attempt to view dataset using IE and/or Safari -  Result: Works fine!

2a. Submit using IE/Safari -  Result: Works fine!
2b. Attempt to view dataset using Firefox -  Result: Works fine!

Original comment by bhavana....@gmail.com on 7 Mar 2011 at 11:13

GoogleCodeExporter commented 8 years ago

Original comment by bhavana....@gmail.com on 7 Mar 2011 at 11:22