- Issue created by @saiprasad_g
- Merge request !22Fix for #3526992: Media revision shows `Anonymous` instead of correct user in DropzoneJS EB widget → (Open) created by vinaygawade
When using the Entity Browser module with the DropzoneJS widget plugin "Media Entity DropzoneJS with edit" configured on a media field of a content type (such as Article or Basic Page), uploaded media files have their revisions incorrectly attributed to "Anonymous (not verified)" instead of the actual logged-in user (e.g., admin). This causes confusion and inaccurate tracking of media ownership and revision history in Drupal.
Expected behavior:
The media revision should show as authored by the current user (e.g., admin).
Actual behavior:
The media revision shows as authored by "Anonymous (not verified)".
Update the media entity revision process when uploading files through the "Media Entity DropzoneJS with edit" widget in the Entity Browser to correctly assign the revision author as the authenticated user performing the upload, instead of defaulting to "Anonymous (not verified)". This may involve ensuring the current user context is properly passed and respected during the media entity save operation triggered by DropzoneJS within the Entity Browser widget.
Active
2.0
Code