-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: NC 28.0.2 RC5 Trying to set expiration date for share – NC claims it's in the past #43243
Comments
cc @fenn-cs |
Could be related to : #42453 not sure yet. |
Just upgraded from 27.1.6 to 28.0.2 and I can confirm the problem which didn't exist in 27 as we use that feature quite frequently. |
I have my installation set to create a default expiration. I guess what's happening with mine is that I can't update the expiration date to a different value when I "customize link". (Note: I don't see an error message. But when I go back in to look at the link, the expiration date hasn't changed.) |
@manumitted that is handled in #43256 |
I have the same issue. Behaviour demonstrated in https://youtu.be/3bly3t_dESs |
cc @nextcloud/server-frontend |
A fix is in its way here: #43428 |
In addition to the "expiration date is in the past" error, the UI should display the date according to the configured locale in the user settings. The "set expiration date" input renders the date in US format |
Can confirm it is possible to set a expiration date again in 28.0.3 RC2, but: Each time the date is updated (or shown) one day goes missing; e.g. setting it to 31.03.2024 - save - press F5 to refresh the page - open settings again - settings show 30.03.2024. This only happens when the page is refreshed, so it might be a bug in the timezone conversion when loading the data from the backend? |
Hi, I consider this bug critical for the following reason : the error message is barely visible, and the sharing panel closes as if the operation was successful. It happened several times that I share a folder with a password and at the same time setting an expiration date. The result is that both fail, and I didn't realise that the folder was shared without password... :-/ |
The fix has been merged in |
@fenn-cs can you handle that as a follow up of your rewrite? |
#43833 wasn't included in 28.0.3. It was merged too late since second RC was already out. |
Bug description
When trying to create a share with an expiration date, it fails. Nextcloud claims the date would be in the past, but it actually is in the future.
Steps to reproduce
Expected behavior
Expiration date should be saved
Installation method
None
Nextcloud Server version
28
Operating system
None
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: