This is an automated email from the ASF dual-hosted git repository. jedcunningham pushed a commit to branch v2-3-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit f0122053a72770c18078f6e885425b85caefee43 Author: Ash Berlin-Taylor <[email protected]> AuthorDate: Sun May 22 08:54:13 2022 +0100 Fix exception trying to display moved table warnings (#23837) If you still have an old dangling table from the 2.2 migration this would fail. Make it more resilient and cope with both styles of moved table name (cherry picked from commit 4829b2392586643f5f7393ed423afc28c4814b63) --- airflow/www/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www/views.py b/airflow/www/views.py index 0ae53e5a5f..a6030e0ab1 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -835,7 +835,7 @@ class Airflow(AirflowBaseView): if segments[0] != settings.AIRFLOW_MOVED_TABLE_PREFIX: continue # Second segment is a version marker that we don't need to show. - yield segments[3], table_name + yield segments[-1], table_name if ( permissions.ACTION_CAN_ACCESS_MENU,
