Flask-AppBuilder
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
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'