Skip to content

[Bug]: Expiration date set for link share despite of unchecked checkbox #51109

@ElSi-DVT

Description

@ElSi-DVT

⚠️ This issue respects the following points: ⚠️

Bug description

In #49115 the issue about a missing hint for the expiration date for link shares were fixed.
That's great so far.

There is also a new option "Enable link expiration", but the problem is if you uncheck this checkbox, the value will not be considered and if you look in the settings of this link share you can see that an expiration date was set.

Image

Image

Steps to reproduce

  1. Configure the following sharing settings:
  • Allow users to share via link and emails
  • Always ask for a password
  • Enforce password protection
  • Set default expiration date for share via link or email
  • Enforce expiration date for remote shares
  1. Create a link share and uncheck "Enable link expiration".
  2. Click on "Customise link" and see that an expiration date was set.

Expected behavior

If you have a look at the link settings the option "Set expiration date" should be unchecked like when creating the share.

Nextcloud Server version

30.0.6

Metadata

Metadata

Assignees

Labels

0. Needs triagePending check for reproducibility or if it fits our roadmap30-feedbackbug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions