Skip to content

Conversation

Hawksama
Copy link

@Hawksama Hawksama commented Sep 7, 2025

Error Details

Error Message:

[2025-09-07 12:43:31] [ERROR] Failed to load the "Magento_Sales/js/grid/tree-massactions" component.

When it occurs:

  • When accessing the admin orders page
  • Specifically affects the mass actions functionality in the orders grid
  • Appears in browser console

Solution

Added the missing tree-massactions.js file with the complete implementation that:

  1. Extends the base Massactions component from Magento_Ui/js/grid/massactions
  2. Implements tree-specific functionality including:
    • Recursive observation of nested actions
    • Submenu visibility management
    • Hierarchical action handling
    • Parent-child relationship management

Testing

✅ Admin orders page loads without 404 errors
✅ Mass actions dropdown functions correctly
✅ Hierarchical actions display and operate properly
✅ No JavaScript console errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant