Skip to content

[Bug]: Federated shares don't dissapear when file deleted #53659

@hamza221

Description

@hamza221

⚠️ This issue respects the following points: ⚠️

Bug description

After receiving a federated share, if the sharer deletes the file and the sharee tries to download it before refreshing the share sticks around

Steps to reproduce

  1. user1 on instance A shares file with user2 on instance B
  2. user2 accepts the share
  3. user1 deletes the file
  4. user 2 doesn't refresh the page
  5. User2 downloads the file alongside other files
  6. Download fails
  7. user 2 refreshes page -> file is still there
  8. user2 checks availability on oc_storages
  9. availability is set to false

Expected behavior

File gets deleted (disappears) on refresh

Nextcloud Server version

29

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

If user1 removes share before deleting the bug doesn't happen

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions