Skip to content

Initial share expiration date not written to DB #19786

@wiswedel

Description

@wiswedel

Steps to reproduce

  1. make sure Settings > Sharing > Set default expiration date for shares is not activated
  2. browse to a file or folder
  3. create a share (this report applies for email shares, public shares, user shares and group shares)
  4. open the share's ... menu
  5. click Set expiration date

Expected behaviour

  • The first possible expiration date is auto-entered into the date field below
  • That date is written into the database

Actual behaviour

  • Today's date (which is besides an invalid value) is auto-entered into the date field
  • Nothing is written into oc_share.expiration

tested with NC 18.0.1, 18.0.0 and 16.0.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions