From 456d7d14e309e63d0669966eebcb3c876ce809be Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sat, 29 Aug 2026 02:36:35 -0400 Subject: [PATCH] fix(admin): correct Feature Flags enable/disable action refs to bound-action FQN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The #2060 editable Feature Flags UI wired the enable/disable buttons as Action: 'AdminService.FeatureFlags/enable' — the / slash form is OData v4 UNBOUND ActionImport syntax, but enable/disable are BOUND actions on the FeatureFlags entity. Fiori Elements throws 'Unknown action import' client-side and never sends the POST, so the buttons do nothing (shipped in 1.20.1). Use the bound-action FQN AdminService.enable / AdminService.disable. --- app/admin-annotations.cds | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/admin-annotations.cds b/app/admin-annotations.cds index 7d56b845a..caf86fb23 100644 --- a/app/admin-annotations.cds +++ b/app/admin-annotations.cds @@ -4132,13 +4132,13 @@ annotate AdminService.FeatureFlags with @UI: { { Value: status }, { Value: issue }, // #2060 — row-button toggles for kind:'db' flags (non-db flags reject 400). - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/enable', Label: 'Enable' }, - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/disable', Label: 'Disable' } + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.enable', Label: 'Enable' }, + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.disable', Label: 'Disable' } ], // Object Page header actions — same enable/disable on the detail view (#2060). Identification: [ - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/enable', Label: 'Enable' }, - { $Type: 'UI.DataFieldForAction', Action: 'AdminService.FeatureFlags/disable', Label: 'Disable' } + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.enable', Label: 'Enable' }, + { $Type: 'UI.DataFieldForAction', Action: 'AdminService.disable', Label: 'Disable' } ], Facets: [ { $Type: 'UI.ReferenceFacet', ID: 'General', Label: 'General', Target: '@UI.FieldGroup#General' },