Flask-AppBuilder icon indicating copy to clipboard operation
Flask-AppBuilder copied to clipboard

ERROR: View with multi related views, each has its actions, when moving from related view to another, gives error on calling actions

Open yjad opened this issue 5 months ago • 0 comments

Version: FAB 5.0.1 The code does not reload the actions when going from related view to another and hence gives error as it could not locate the actions of the current view:

File "C:\Yahia\Python\FAB5\venv\Lib\site-packages\flask_appbuilder\views.py", line 306, in get_action_permission_name self.actions.get(name).func.name ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'func'

yjad avatar Nov 04 '25 08:11 yjad