Skip to content

[Bug] Unable to delete all sharing methods – always at least one remaining #7612

@LinxHex

Description

@LinxHex

Describe the bug

When adding a sharing method in FreshRSS, it cannot be fully deleted. Once a sharing method is added, you must add a new one before the delete option appears for the previous one. However, no matter what, there is always at least one sharing method that cannot be removed. The system does not allow all sharing methods to be deleted, leaving one remaining permanently.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Settings → Sharing
  2. Add a new sharing method
  3. Attempt to delete it – notice that delete option is not available unless you create another sharing method first
  4. After creating another, delete one of the entries
  5. Observe that at least one sharing method always remains and cannot be removed

Expected behavior

Users should be able to delete all sharing methods if desired, including the last one. There should not be a requirement to always keep at least one sharing method.

FreshRSS version

1.26.2

System information

  • Database version: sqlite 3.40.1
  • PHP version: 8.2.28
  • Installation type: Docker Compose
  • Web server type: Nginx
  • OS: Debian 12
  • Browser: Chrome 136

Additional context

PixPin_2025-05-25_15-13-06.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug (unconfirmed)issues that could not be reproduced yet

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions