Skip to content

copy/move notes when changing the notes path #390

@Rexaris

Description

@Rexaris

Describe the bug
When changing the storage location existing notes get deleted.
Actually, the old "Notes" directory remains, but the txt-files wont moved to the new location.

To Reproduce
Steps to reproduce the behavior:

  1. create at least one note
  2. Change "Folder to save your notes" to e.g. "Documents/Notes"
  3. all previously created notes are gone
  4. Look at the HD on the old location: all note-files are existing

Expected behavior
All Existing notes gets copied to the new location.

Server (please complete the following information):

  • Notes app version: 3.0.3
  • Nextcloud version: 16.0.5
  • OS: Raspbian 9.11 (Kernel: 4.19.57-v7+)
  • Web server: apache2
  • PHP version: 7.3.9
  • Database: mysql 10.1.38

Client (please complete the following information):

  • Browser (incl. version): Google Chrome (mobile) 77.0.3865.92
  • OS: Android 7.1.1

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designRelated to the design or user experienceenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions