IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
878 stars 486 forks source link

version 6.2 to version 6.3 banner Message missing parameter #10863

Open BenediktMeierUIT opened 1 week ago

BenediktMeierUIT commented 1 week ago

What steps does it take to reproduce the issue? From version 6.2 to version 6.3, likely due to this change #10565 the "displayValue" is no longer returned.

Version 6.3: Screenshot from 2024-09-19 14-30-46

Version 6.2: Screenshot from 2024-09-19 13-54-01

BenediktMeierUIT commented 1 week ago

I am so confused right now. On one system with a different database, it is not displayed, and in another, everything works wonderfully. Sorry for the confusion. I will only create a ticket if I get the same error on different databases.

pdurbin commented 1 week ago

No worries. Please keep us posted!

BenediktMeierUIT commented 1 week ago

I found the error. I'm not quite sure yet how it should be done best. However, I think something should be set in the Dockerfile (https://github.com/IQSS/dataverse/blob/1d31fb01385a7bc15e8eb1944c275592cbc39015/src/main/docker/Dockerfile#L30). I've tried several things. But I'm not done testing and verifying the perfect solution yet.

The problem lies in the terminal LANG setting. If you have "C.UTF-8" when starting the Docker, then the error occurs. Whether you then execute something in the Docker container with "docker exec -u root -e LANG='C.UTF-8' -it dataverse /bin/bash" or without LANG. Up to the current state, it is important how the Docker was started. It also doesn't matter whether LANG is set in the docker-compose file or not.

I wanted to see what effects it has if LANG is set in the Dockerfile. Or has anyone of you ever had this problem?