EPrints Technical Mailing List Archive
Message: #08638
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] set_lang on 3.4.3
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "David R Newman" <drn@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] set_lang on 3.4.3
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- Date: Fri, 4 Jun 2021 16:58:25 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi David, The patch does the job, everything works fine now I do not have a recent version of CGI::Cookie Perl package installed. Thank you, MarioDe : eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk>
De la part de David R Newman via Eprints-tech Hi Mario, This code relates to setting the correct attributes for the cookie EPrints uses to store the user's language preference. This change was made to deal with the fact that FireFox was not going to continue to support the cookei for this in its current form.
https://github.com/eprints/eprints3.4/issues/118 I am sure this worked when I tested but looking at it now I can see a couple of problems with it. Maybe this was down to a merge that went bad. Unfortunately, /cgi/set_lang was not part of my automated build testing prior to release but I will be adding
it when I next get a chance. I have added a patch to the GitHub code that should fix the specific issue you reported: https://github.com/eprints/eprints3.4/commit/8c18cd49c65597539bd3fe9c1c97ef05c52694f7 However, to fix issue #118 you need to also make sure you have a recent version (I am on 4.51) of the CGI::Cookie Perl package installed, (i.e. most likely through installing using CPAN). Otherwise, this fix to set_lang will likely not do anything useful
(but should not make anything worse), as what it is trying to do is probably not supported by the version of CGI::Cookie you have installed. Regards David Newman On 02/06/2021 17:18, Beaudoin, Mario via Eprints-tech wrote:
|
- Follow-Ups:
- Re: [EP-tech] set_lang on 3.4.3
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- Re: [EP-tech] set_lang on 3.4.3
- References:
- [EP-tech] set_lang on 3.4.3
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- Re: [EP-tech] set_lang on 3.4.3
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] set_lang on 3.4.3
- From: "Beaudoin, Mario" <Mario.Beaudoin@uqtr.ca>
- [EP-tech] set_lang on 3.4.3
- Prev by Date: Re: [EP-tech] Ask about searching
- Next by Date: Re: [EP-tech] set_lang on 3.4.3
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):