* Mon Oct 06 2025 Brian Read <brianr@koozali.org> 2.3.0-14.sme

- Add UTF8 and avoid potential DB caching problems [SME: 13209]
This commit is contained in:
2025-10-06 08:41:08 +01:00
parent 44ef902af7
commit 80856815d3
2 changed files with 8 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ use Locale::gettext;
use SrvMngr::I18N; use SrvMngr::I18N;
use SrvMngr qw(theme_list init_session); use SrvMngr qw(theme_list init_session);
our $cdb = esmith::ConfigDB->open() || die "Couldn't open config db"; my $cdb;
our $REGEXP_DOMAIN = qq([a-zA-Z0-9\-\.]+); our $REGEXP_DOMAIN = qq([a-zA-Z0-9\-\.]+);
@@ -29,6 +29,7 @@ sub main {
my $c = shift; my $c = shift;
$c->app->log->info($c->log_req); $c->app->log->info($c->log_req);
$cdb = esmith::ConfigDB::UTF8->open() || die "Couldn't open config db";
$cdb->reload(); $cdb->reload();
my $title = $c->l('gnw_FORM_TITLE'); my $title = $c->l('gnw_FORM_TITLE');
@@ -41,6 +42,7 @@ sub main {
sub do_update { sub do_update {
my $c = shift; my $c = shift;
$c->app->log->info($c->log_req); $c->app->log->info($c->log_req);
$cdb = esmith::ConfigDB::UTF8->open() || die "Couldn't open config db";
my $res = ''; my $res = '';
my $result = ''; my $result = '';
@@ -183,4 +185,4 @@ sub get_stat_gws {
} }
1; 1;

View File

@@ -3,7 +3,7 @@ Summary: Package to integrate GeneWeb (V6) into SME Server
%define name smeserver-geneweb %define name smeserver-geneweb
Name: %{name} Name: %{name}
%define version 2.3.0 %define version 2.3.0
%define release 13 %define release 14
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@@ -68,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%postun %postun
%changelog %changelog
* Mon Oct 06 2025 Brian Read <brianr@koozali.org> 2.3.0-14.sme
- Add UTF8 and avoid potential DB caching problems [SME: 13209]
* Sat Oct 04 2025 Brian Read <brianr@koozali.org> 2.3.0-13.sme * Sat Oct 04 2025 Brian Read <brianr@koozali.org> 2.3.0-13.sme
- Remove smanager-refresh from spec file [SME: 13212] - Remove smanager-refresh from spec file [SME: 13212]