From da2a654efb73d9772ec0350d0c2e826af3beb424 Mon Sep 17 00:00:00 2001 From: divyajose Date: Tue, 28 Nov 2023 14:58:24 +0530 Subject: [PATCH 1/2] Fix for attach view to teams error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: CSÉCSY László , --- modules/apigee_edge_teams/apigee_edge_teams.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apigee_edge_teams/apigee_edge_teams.module b/modules/apigee_edge_teams/apigee_edge_teams.module index 1bda20e58..c1e90c493 100644 --- a/modules/apigee_edge_teams/apigee_edge_teams.module +++ b/modules/apigee_edge_teams/apigee_edge_teams.module @@ -177,7 +177,7 @@ function apigee_edge_teams_preprocess(&$variables, $hook) { } $team = \Drupal::routeMatch()->getParameter('team'); - if (!$team || $team->getStatus() !== TeamInterface::STATUS_INACTIVE) { + if (!($team instanceof TeamInterface) || $team->getStatus() !== TeamInterface::STATUS_INACTIVE) { return; } From 7b09c6934a7f742442d2a2220bfa2feb45fe1834 Mon Sep 17 00:00:00 2001 From: Shishir <75600200+shishir-intelli@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:36:33 +0530 Subject: [PATCH 2/2] Fix error Creation of dynamic property TeamApp:: is deprecated (#992) --- modules/apigee_edge_teams/src/Entity/TeamApp.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/apigee_edge_teams/src/Entity/TeamApp.php b/modules/apigee_edge_teams/src/Entity/TeamApp.php index 53919cd69..83fb2f0a2 100644 --- a/modules/apigee_edge_teams/src/Entity/TeamApp.php +++ b/modules/apigee_edge_teams/src/Entity/TeamApp.php @@ -83,6 +83,7 @@ * field_ui_base_route = "apigee_edge_teams.settings.team_app", * ) */ +#[\AllowDynamicProperties] class TeamApp extends App implements TeamAppInterface { /**