Closed chenejac closed 4 years ago
Dominik Feldschnieders said:
I think the the interesting part is
bad language tag N3: <http://vivo.mydomain.edu/individual/n3954> <http://www.w3.org/2000/01/rdf-schema#label> "Derrida's influence on political rhetoric"@es- . at
Andrew Woods said:
I am able to reproduce the issue in this ticket.
Andrew Woods said:
The bug appears to be in the fact that there is no check for vreq.getLocale().getCountry()
being empty.
https://github.com/vivo-project/Vitro/blob/sprint-i18n/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java#L219
Dominik Feldschnieders said:
You were right, that was the problem. I have corrected not only the part that causes this error but all the ones I have found which could also lead to this or similar errors.
[PR für Vitro |[https://github.com/vivo-project/Vitro/pull/181]] with description
[PR für VIVO|[https://github.com/vivo-project/VIVO/pull/182]]
Andrew Woods said:
Looks good. Minor formatting comment.
Dominik Feldschnieders said:
I have made the requested formatting changes.
Dominik Feldschnieders (Migrated from VIVO-1900) said:
With a fresh VIVO instanz and the given sample data ([https://wiki.lyrasis.org/display/VIVODOC19x/Sample+Data]) i tried to add an spanish label to an article. Go to the article, edit label with language set to spanish ( you do not need to edit it) and click "Editar etiqueta" (Edit Label).
This error will show up: