You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the --remove-widget flag is used to run the migration. it causes the wrong widgets to be removed (in a situation where there should be 1 widget left it comes back with empty content).
When the
--remove-widget
flag is used to run the migration. it causes the wrong widgets to be removed (in a situation where there should be 1 widget left it comes back with empty content).I've created a minimal example here:
https://github.com/activeviam/IBolari-AUI5-customisations/tree/remove-widget-bug-minimum-reproduction
you can run it with:
My initial analysis points to this conditional statement ;
https://github.com/activeviam/activeui-migration/blob/57da18ec074107bf48573ddaaaabaf32bd32c374/src/migrateDashboard.ts#L119
I think the
else
is problematic because it means that the widget is prematurely removed from the dashboard before it can run through the actual removal logic at: https://github.com/activeviam/activeui-migration/blob/57da18ec074107bf48573ddaaaabaf32bd32c374/src/migrateDashboard.ts#L190The text was updated successfully, but these errors were encountered: