From 9cf5632771747774803a1772ea720bf71259d4bf Mon Sep 17 00:00:00 2001 From: Ronny John Date: Wed, 27 Nov 2024 18:13:24 +0000 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20Tratando=20exist=C3=AAncia=20do=20ge?= =?UTF-8?q?tMetadata=20ao=20usar=20getTermsByOpportunity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/protected/application/lib/MapasCulturais/Utils.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/protected/application/lib/MapasCulturais/Utils.php b/src/protected/application/lib/MapasCulturais/Utils.php index 05784a3b1..ce10aa538 100644 --- a/src/protected/application/lib/MapasCulturais/Utils.php +++ b/src/protected/application/lib/MapasCulturais/Utils.php @@ -211,6 +211,11 @@ static function getTermsByOpportunity($text, $opportunity) 'avaliada' => 'monitorada', ]; + + if (!method_exists($opportunity, 'getMetadata')) { + return $text; + } + if ($opportunity->getMetadata('use_multiple_diligence') === 'Sim') { $text = strtr($text, $terminology); } From 9ef8cbd1c79247c5b95c0cf85bffb7f3b7e5c29e Mon Sep 17 00:00:00 2001 From: Junior-Shyko Date: Fri, 29 Nov 2024 09:19:08 -0300 Subject: [PATCH 2/2] :bookmark: Versionando projeto --- CHANGELOG.md | 4 ++++ version.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54a392a60..00cf7b471 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Todas as mudanças notáveis no projeto serão documentadas neste arquivo. O formato é baseado no [Keep a Changelog](https://keepachangelog.com/pt-BR/1.0.0/) e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [5.9.6] - 2024-11-29 +### Corrigido +- Corrigindo bug de metadata do relacionamento de entidade com selos + ## [5.9.5] - 2024-11-25 ### Corrigido - Corrigido renderização da lista de inscritos na aba de avaliação diff --git a/version.txt b/version.txt index 848752579..554960d31 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -5.9.5 \ No newline at end of file +5.9.6 \ No newline at end of file