Skip to content

MODX3 - Removing a widget from a dashboard does not work #15324

@muzzwood

Description

@muzzwood

Bug report

Summary

Removing a widget from a dashboard on the dashboard management page does not work in current MODX3.
i.e. /manager/?a=system/dashboards

Note: it does work if you close a widget when on the dashboard itself.

Step to reproduce

  1. Go to the dashboards page /manager/?a=system/dashboards and create a new dashboard. Add some widgets, and save.
  2. Go to the ACL page /manager/?a=security/permission and right click on the Administrator group, then select Edit User Group.
  3. Select the new dashboard for this user group and save.
  4. Go back to the dashboard and see you are using the new one.
  5. Return to the dashboard management page /manager/?a=system/dashboards and remove a widget. Save.
  6. Return to the dashboard and see that the widget was not removed.

Observed behavior

Widgets are not removed if done from the dashboard management page. Only works from the dashboard itself.

Expected behavior

Removing a widget from a dashboard should work if the option is there for it.

Environment

MODX 3.0.0-alpha3, PHP 7.4, Mysql 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions