torchbox / wagtailmedia

A Wagtail module for managing video and audio files within the admin
https://pypi.org/project/wagtailmedia/
BSD 3-Clause "New" or "Revised" License
224 stars 70 forks source link

AudioChooserBlock edit button href is empty #207

Closed marts closed 1 year ago

marts commented 1 year ago

Issue Summary

On an upgrade from wagtailmedia 0.12.0 to 0.14.1 I noticed the 'Edit this audio item' button on the AudioChooserBlock was not linking to the media item (in this case an audio file).

This works fine for 0.12.0 and 0.13.0, but not 0.14.0 and 0.14.1

Steps to Reproduce

  1. Create a struct block with an AudioChooserBlock
  2. Select an audio file
  3. Try to edit the audio file using the 'Edit this audio item' button
Screenshot 2023-06-08 at 14 39 15

Technical details

zerolab commented 1 year ago

Thank you for flagging this up. Sorted in https://github.com/torchbox/wagtailmedia/releases/tag/v0.14.2