Skip to content

[OC 10.0] Editing the share link overwrites the "link name" on the server #5658

Closed

Description

@SamuAlfageme

Expected behavior

Even if the client does not support the named shared links, the name given on the server should not be overwritten by editing the link's properties

Actual behavior

The original (default) name of the link is restored.

The difference is that client performs a PUT to/ocs/v1.php/apps/files_sharing/api/v1/shares/1?format=json only with the new changes (semantically, a PATCH request) vs. the server now includes all the fields in the body (i.e. expireDate, name, permissionsand shareType)

Steps to reproduce

  1. Create a share link either in the client or the web UI
  2. Edit the Link name of this link on the web UI
  3. Change one of the link properties on the Sharing dialog on the client:
    • Set a password
    • Set an expiration date

cc/ @felixheidecke

Activity

  1. SamuAlfageme commented on Apr 11, 2017

    @SamuAlfageme
    ContributorAuthor

    Solved in owncloud/core#27529 as only affected 10.0 version was beta1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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