Skip to content

Cancel button does not remove database entries from attachments #9730

@rich20

Description

@rich20

Describe the bug
https://www.kunena.org/forum/k-6-3-0-support/168554-strange-error
Confirmed

To Reproduce

  1. Create post
  2. Upload Picture
  3. Press Insert in message
  4. Cancel post
  5. Go to Attachment Manage and try delete this attachment

Actual result
Cannot save topic: Category 0 doesn't exist!

Additional context
The reason is that it does not remove the database entry with the cancel button as it used to. This results in an orphaned database entry.

System information

  • Joomla version: ‎5.1.5-dev
  • Joomla template: CASSIOPEIA
  • Kunena version: 6.3.5-DEV
  • Kunena template: Aurelia
  • Php version: 8.2.20
  • Database version: 10.5.25-MariaDB

Desktop

  • OS: Ubuntu 22.04.1 LTS
  • Browser: Chromium, Firefox and Opera

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions