Skip to content

Do not change slug after episode was saved even if it's a draft

Describe the bug

After saving an episode, any changes to the title will automatically change the slug. This can cause:

  • Unexpected episode URL on publish
  • Broken links after updating published episode

Steps to reproduce

  1. Create an episode
  2. Save it as a draft
  3. Optionally: Publish it
  4. Open episode editing
  5. Change episode title
  6. Slug changes automatically

Expected behavior

Slug is not being changed after first save unless edited manually.

Actual behavior

Slug is being changed automatically according to the title changes.

slug_update

Context

  • Castopod: 1.12.6
  • OS: Docker / Linux
  • Browser: Vivaldi

Possible fixes

Disable automatic slug generation from title after episode was saved.