Skip to content

Renaming a mount point creates a new mount point instead #4557

Closed

Description

@bantu

Expected behaviour

Mount point homeMount has been renamed to homeMountTest.

Actual behaviour

A new mount point homeMountTest was created and the old one remains.

Steps to reproduce

  1. Enable the External Storage app
  2. Under Admin > External Storage create a Local mount point called homeMount for /home for All Users
  3. Navigate to "Files"
  4. Under Admin > External Storage rename homeMount to homeMountTest

Server configuration

ownCloud version: master (02b2b5a)

Activity

  1. PVince81 commented on Nov 21, 2013

    @PVince81
    Contributor

    I can confirm this, still happening in OC 5.0.13 and OC 6 beta 5

  2. karlitschek commented on Jul 4, 2014

    @karlitschek
    Contributor

    Isn´t this fixed now?

  3. itpony commented on Jul 7, 2014

    @itpony

    It is still happening in OC7 RC1 on Debian Wheezy.

  4. PVince81 commented on Jul 7, 2014

    @PVince81
    Contributor

    Thanks for the feedback.
    If I remember well the issue is that the entry in oc_storages + the matching file cache isn't deleted properly. Or maybe it's just a config merging issue.

    CC @Xenopathic @icewind1991

  5. icewind1991 commented on Jul 7, 2014

    @icewind1991
    Contributor

    will look into it

  6. RobinMcCorkell commented on Jul 7, 2014

    @RobinMcCorkell
    Contributor

    The JS code should remove the existing mount point before recreating it with the new name. However, repeatedly recreating mountpoints like this will be very slow, so perhaps only when the user clicks off the box or changes page (if possible)?

  7. locked as resolved and limited conversation to collaborators on Aug 17, 2019
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