Hello,

I just found a bug I guess. Or it is a Java issue specific to the version of 
Java installed on my machine. I dont have another Server at hand with a 
different java version installed, so I cant judge this. Although it is a 
localization issue, it can be tested in ever DSpace instance using Creative 
Commons license, so it would be nice if someone could verify in his instance.


Trying to add a Creative Commons License during Submission using XMLUI is not 
possible as long as you use a browser that requests the German Localization. 
Creative Commons support has to be enabled in dspace.cfg. The jurisdiction set 
in dspace.cfg does not matter at all. 

I use Firefox with Quick Locale Switcher to check with different Localizations. 
Actually I found out by accident that it has to do with Localization when I was 
hunting for the reason of this issue for several hours already. Finally I was 
absolutely clueless as to what might be the reason and played a bit with Locale 
switcher.


Reloading the page for adding a CC License using different Locales such as 
it-IT, es-ES or en-US, then pushing the button which sends you to 
creativecommons.org produces a valid URL in the form:

creativecommons.org/choose/?submission-continue=… (long id and .continue 
appended)

Doing so using de-DE setting of Firefox produces a Server Error. The URL looks 
like

creativecommons.org/license (nothing removed here)


The button label contains an Umlaut in the german version. This Umlaut is 
properly stored as UTF-8 in the messages_de.xml. Changing the Umlaut in the 
last Word "auszuwählen" to "auszuwaehlen" resolves the issue. Here comes the 
offending line without the change:

<message 
key="xmlui.Submission.submit.CCLicenseStep.submit_to_creative_commons">Weiter 
zur Creative Commons Seite, um eine Lizenz auszuwählen.</message>

I guess it should work with the localized string as Claudia has entered it. 
Changing the label is only a workaround.

This is the java version on my Debian server:

$java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Bye, Christian


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to