Hi
Thank you, I made new issue (http://code.google.com/p/gbif-providertoolkit/issues/detail?id=845).
We have tested many browsers on Windows and Linux. I think the reproduction is hard because it did work on our system well and then something weird happened causing this…
Hi Tero,
What changed between it working well, and then this happening please? OS upgrades, OS changes, Tomcat upgrades, Java updates etc
The *good* news is the IPT still works - the EML is correct when accessed through Tomcat. Of course we want to fix the direct file access route, but the IPT is operating correctly through the IPT interface (e.g. http://db.digitarium.fi:8080/ipt/eml.do?r=nylander is correct )
Thanks, Tim
BR, Tero
From: Kyle Braak [GBIF] [mailto:kbraak@gbif.org] Sent: Friday, March 09, 2012 11:54 AM To: Tero Mononen Cc: ipt@lists.gbif.org; Tim Robertson [GBIF] Subject: Re: [IPT] All space-characters in metadata are replaced to plus-character
Dear Tero,
Can I kindly ask you to fill in a bug report on the IPT Project Site: http://code.google.com/p/gbif-providertoolkit/issues/entry
In addition to the IPT version, Java version, and Tomcat version, can you also specify the Operating System you are using (with version), as well as the browser (with version) that you are using to fill in the metadata? Out of curiosity, have you tried entering metadata through different browsers (Chrome, Firefox, IE)?
This will help us try and reproduce the problem ourselves so that if there is something wrong with the application we can fix it ASAP.
Thanks a lot,
Kyle On Mar 9, 2012, at 10:40 AM, Tim Robertson [GBIF] wrote:
Thanks Tero
Very curious indeed. The single input fields are represented with + but the description field which is a Textarea on the form is not.
We'll look more into it.
Cheers, Tim
On Mar 9, 2012, at 10:15 AM, Tero Mononen wrote:
Hi
There is the original eml.xml. Is that the only file you are interested in?
BR, Tero
On 03/09/2012 11:05 AM, Tim Robertson [GBIF] wrote: Hi Tero,
How very strange. Given this is public anyway (http://db.digitarium.fi:8080/ipt/eml.do?r=nylander) would you mind attaching the file from the filesystem please? I'd like to look at the file encoding etc.
Thanks, Tim
On Mar 9, 2012, at 9:44 AM, Tero Mononen wrote:
Dear Tim,
There’s only public example (Title: William+Nylander+lichen+collection): http://db.digitarium.fi:8080/ipt/resource.do?r=nylander
It’s interesting, eml.xml on file system contains line:
<title xml:lang="eng">William+Nylander+lichen+collection</title>
But eml via IPT/Tomcat offers line:
<title xml:lang="eng">William Nylander lichen collection</title>
It’s pure Tomcat without proxies.
BR, Tero Mononen
From: Tim Robertson [GBIF] [mailto:trobertson@gbif.org] Sent: Friday, March 09, 2012 10:37 AM To: Tero Mononen Cc: ipt@lists.gbif.org Subject: Re: [IPT] All space-characters in metadata are replaced to plus-character
Dear Tero,
Could you please provide a link to an example file? We'll investigate, but this is not a behavior I have ever seen with a Tomcat application.
Do you run any proxies or mod_jk or anything like that?
Thanks, Tim
On Mar 9, 2012, at 9:35 AM, Tero Mononen wrote:
Hi
We have used this IPT-setup without any problems till now.
System: Version 2.0.2-r3306 Apache Tomcat/6.0.24 JVM 1.6.0_29-b1
Problem: All space-characters in metadata are replaced to plus-character. For example title “foo bar car” is saved as “foo+bar+car”. It affects in every text field in metadata.
If I include at least one plus-char in a text value, it prevents the space replacement. For example “foo bar car+dar” is saved as it is.
I think this is related to Java/Tomcat/urlencode. Do you have suggestions how to fix this problem?
Best Regards, Tero Mononen
-- Digitarium Digitisation Centre of the Finnish Museum of Natural History and the University of Eastern Finland Faculty of Science and Forestry, Joensuu Science Park Länsikatu 15 (P.O. Box 111) FI-80101 Joensuu http://www.digitarium.fi/
Tero Mononen, Analyst Programmer tero.mononen@uef.fi +358-50-5631788
IPT mailing list IPT@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ipt
-- Digitarium Digitisation Centre of the Finnish Museum of Natural History and the University of Eastern Finland Faculty of Science and Forestry, Joensuu Science Park Länsikatu 15 (P.O. Box 111) FI-80101 Joensuu http://www.digitarium.fi/
Tero Mononen, Analyst Programmer tero.mononen@uef.fi +358-50-5631788 <eml.xml>
IPT mailing list IPT@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ipt