Problem/Motivation

No entry in the even log track table for the menu item/menu content CRUD operation.
Event logs are though generated for the menu type CRUD operations correctly, issue is with the menu content CRUD operation only.

Steps to reproduce

  • Create a menu item of any of the menu type
  • Update a menu item of any of the menu type
  • Delete a menu item of any of the menu type
  • Notice that none of the above events are getting logged in the event log track ( /admin/reports/events-track )

Proposed resolution

  • Extend event log track menu module for menu content operations similar to menu type operations

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#5 log_menu_content-3167684-5.patch1.72 KBankit agrawal
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Ankit Agrawal created an issue. See original summary.

ankit agrawal’s picture

Have tagged menu item extras as the issue here could be related to the menu item extras module.

ankit agrawal’s picture

Issue summary: View changes
ankit agrawal’s picture

Issue summary: View changes
ankit agrawal’s picture

StatusFileSize
new1.72 KB

Created a patch for logging the menu content items via event log track menu module, please review

ankit agrawal’s picture

Status: Active » Needs review

Please review the patch.

Heisen-blue’s picture

Status: Needs review » Reviewed & tested by the community

Works fine, thx.

smustgrave’s picture

Version: 8.x-2.0 » 3.0.x-dev

  • smustgrave committed 0cef721 on 3.0.x
    Issue #3167684: Event not getting logged for the menu items or menu...
smustgrave’s picture

Status: Reviewed & tested by the community » Fixed

Will be part of 3.0.x branch

smustgrave’s picture

Status: Fixed » Closed (fixed)