Media inside a Paragraph with long text type field using CKEditor and adding media via Media Library modal stopped being linked to the group as of version RC1.

Created on 11 April 2023, about 1 year ago
Updated 5 September 2023, 10 months ago

Problem/Motivation

Media inside a Paragraph with long text type field using CKEDITOR and adding media via Media Library modal stopped being linked to the group as of version RC1.

Steps to reproduce

1- Create media by a body CKEDITOR field directly in the node by modal Media Library:
Result: OK
- Insert the media normally
- Media appears in the group's media overview
- Media Is linked to the group

2- Create media by a CKEDITOR body field inside a Paragraph by modal Media Library
Result: Not OK!
- Insert the media normally
- Media does NOT appear in the group's media overview
- Media is NOT linked to the group

3- Create media by a MEDIA field inside a Paragraph by the Media Library
Result: OK!
- Insert the media normally
- Media appears in the group's media overview
- Media Is linked to the group

Settings:
Enabled: Enable media tracking
Enabled: Group Media Paragraphs tracker

Drupal: 9.5.7
Group: 8.x-1.5
Groupmedia: 8.x-2.0-rc2
PHP: 7.4.30
MYSQL: 8

Doing the same steps with the Alpha11 version everything works as expected.

I'll try upload a video later exemplifying in practice.

I identified that the problem happens in the RC1 version, I believe it is related to 3337161.

The big problem with this is that I tried to go back to the Alpha11 version that works correctly and apparently something in the downgrade doesn't go well and it doesn't work correctly again, just after uninstalling groupmedia and installing again.

πŸ› Bug report
Status

Fixed

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024