-
Notifications
You must be signed in to change notification settings - Fork 156
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
Expiration date doesn't get updated after changing default expiration days in admin sharing setting #3176
Comments
sorry for the noise, closed accidentally. |
Thanks for bringing this up. However, the When changing the enforced expiration date, this only applies for shares which are created or changed from that time onwards. It is not a good idea to change existing shares - think about changing to a wrong number of days by accident and suddenly all shares are irreversibly changed. Still, when saving a share which has an expiration date that doesn't comply with the new forced expiration date span, an error message has to be shown. The backend reacts properly, but Phoenix didn't show the error and instead had a behaviour which left the impression that the share was saved successfully (and in reality it was not saved at all). The PR will change this to showing a proper error message in such a case. |
That'd be nice @kulmann. You can ping anyone from the QA team (or me 😄) to add acceptance test! |
Steps to reproduce
shareapi_default_expire_date_user_share
of appcore
shareapi_enforce_expire_date_user_share
of appcore
shareapi_default_expire_date_user_share
of appcore
to say10
shareapi_default_expire_date_user_share
to say5
Expected behaviour
Expiration date should be changed to cope with changed setting
shareapi_default_expire_date_group_share
Note: similar behavior is present in core UI
Actual behaviour
Expiration date remains unchanged!
In Phoenix:
In Core:
Server configuration
latest core master
latest phoenix master
The text was updated successfully, but these errors were encountered: