ios icon indicating copy to clipboard operation
ios copied to clipboard

Default expiration date not shown when first creating a share

Open thgoebel opened this issue 2 years ago • 0 comments

Steps to reproduce

  1. Let the admin configure a "default expiration date for shares" under /settings/admin/sharing, e.g. to 7 days.
  2. Open the iOS Files app
  3. Click on the share icon next to a file
  4. Two options with the same bug: a. Either click "Share link" b. Or search for a user and select them

Expected behaviour

The "Set expiration date" field should have the date set, e.g. to 7 days in the future.

Actual behaviour

The "Set expiration date" field is empty.

Only after saving the share the expiration date is silently set. This is confusing to the user, because it is not transparent why the share suddenly has an expiraton date.

Screenshots

nextcloud-2023-12-18-ios-share-no-expiration-date

Logs

n/a

Reasoning or why should it be changed/implemented?

The current, buggy behaviour is confusing. It's also inconsistent with the web client, where this bug has been fixed: https://github.com/nextcloud/server/issues/40612

Environment data

iOS version: e.g. iPadOS 17.2

Nextcloud iOS app version: 4.9.6.1

Server operating system: Ubuntu

Web server: Apache

Database: MariaDB

PHP version: 8.2

Nextcloud version: 28.0.0

thgoebel avatar Dec 18 '23 10:12 thgoebel