Skip to content

Expiration date for shared links is not correctly set under certain conditions #4734

Closed

Description

@jvillafanez

Expected behaviour

Expiration date is set and shown correctly

Actual behaviour

Expiration date is not set

Steps to reproduce

  1. Under any file or directory, click the "share" action to open the dropdown
  2. Click in the "share with link" checkbox
  3. Click in the "set expiration date" checkbox and set a valid date
  4. Click again in the "share with link" checkbox to uncheck it
  5. Click again in the "share with link" checkbox to check it again
  6. The dropdown shows the expiration checkbox checked and a valid date set
  7. Click outside the dropdown to close it
  8. Click in the "share" action of the same file.
  9. The "share with link" checkbox is checked, but the expiration is not

There is a mismatch between what is shown in point 6 and what is the real data we have in point 9.

Server configuration

ownCloud version: 5.0.9 and 5.0.11RC2

Client configuration

Browser: Firefox, Chrome (it's possible that it happens with more browsers)

Activity

  1. rperezb commented on Sep 5, 2013

    @rperezb
  2. karlitschek commented on Nov 29, 2013

    @karlitschek
    Contributor

    @PVince81 @schiesbn Can you have a look please?

  3. PVince81 commented on Jan 23, 2014

    @PVince81
    Contributor

    I was able to reproduce this om master (OC 7 pre-alpha).

    After those steps if I refresh the page, the expiration date is gone.

    Looks like clicking on the checkbox at step 4 possibly didn't trigger the expiration date blur and so didn't save it correctly.

    Needs further investigation.

  4. PVince81 commented on Mar 10, 2014

    @PVince81
    Contributor

    @nickvergessen can you have a look ?

  5. nickvergessen commented on Mar 10, 2014

    @nickvergessen
    Contributor

    @PVince81 should be duplicate of #4823 and will therefor also be fixed with #7286
    But will check it out to ensure that its fixed.

  6. jvillafanez commented on Mar 11, 2014

    @jvillafanez
    MemberAuthor

    I'd say that it's solved with #7286
    As long as the data shown to the user is what it's in the DB, I'm fine with the solution.

    I personally found a bit weird that, when you set an expiration date, and then you uncheck and check again the "share link" option, the expiration date is still set, but if that's what is in the DB at that point, then it works for me.

  7. nickvergessen commented on Mar 12, 2014

    @nickvergessen
    Contributor

    I just tested it in all cases, it is indeed fixed. So I will close this as soon as #7286 is merged

  8. added this to the milestone on Mar 12, 2014
  9. MorrisJobke commented on May 19, 2014

    @MorrisJobke
    Contributor

    fixed with #7286

  10. locked as resolved and limited conversation to collaborators on Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions