UI language negotiation fix#1455
UI language negotiation fix#1455osma merged 1 commit intoNatLibFi:masterfrom BeameryEdge:issues/1453
Conversation
Also fixed the language tags in the sample `skosmos:languages` config
|
Kudos, SonarCloud Quality Gate passed!
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1455 +/- ##
=========================================
Coverage 69.57% 69.57%
Complexity 1651 1651
=========================================
Files 32 32
Lines 4259 4259
=========================================
Hits 2963 2963
Misses 1296 1296
☔ View full report in Codecov by Sentry. |
|
Thanks a lot @namedgraph , this looks like a very reasonable set of fixes. The code that this PR is targeting is really begging for unit tests. I think this would be the right moment to add those tests, verifying that the fix actually worked. I will see if I can add those easily before merging. This needs to go both to the |
|
I implemented unit tests for the guessLanguage method, then applied the commits from this PR on top, and put it into PR #1457 which supersedes this one. |
|
Merged via #1457. Thanks again! |
|
You're welcome :) |








With these fixes applied we are not experiencing #1453 anymore.
Reasons for creating this PR
Code fix and configuration fix
Link to relevant issue(s), if any
Description of the changes in this PR
in_array()as string instead of object_with-inskosmos:languageslanguage tags found in thedockerfilesconfiguration filesKnown problems or uncertainties in this PR
Checklist
.sr-onlyclass, color contrast)