[BUG] Renaming vault is broken on mobile

Steps to reproduce

  1. create a new vault: test_config_folder
  2. go to Settings / About, change Override config folder to .obsidian-override and relaunch.
  3. tap vault icon in side bar
  4. tap test_config_folder
  5. tap “Rename”, rename to test_config_folder_rename

Note at this point, you will have to force-close Obsidian. There are another couple minor bugs here around renaming.

  1. there is no visual indicator the rename succeeded and you’ll get errors every subsequent time you tap rename
  2. The choose vault screen will show the old name and not update.

Closing Obsidian forces it to recognize the new name so you can open it.

  1. Go to vault selection screen, choose, test_config_folder_rename, Enter vault
  2. go to Settings / About

Expected result

Override config folder value should be .obsidian-override

Actual result

Override config folder value is .obsidian

With the following implications

  1. renaming loses settings, is not an atomic operation
  2. if .obsidian is being used on another device profile and the vault was previously using .obsidian with sync, the old .obsidian settings that linger causes unexpected data loss on other devices. The note contents are safe, but settings get over-written unexpectedly.

Environment

  • Operating system: iOS
  • Debug info:
SYSTEM INFO:
	Obsidian version: 1.2.1 (52)
	Operating system: ios 15.4.1 (Apple iPhone)
	Login status: logged in
	Catalyst license: vip
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: Minimal
	Snippets enabled: 2
	Safe mode: off
	Plugins installed: 3
	Plugins enabled: 3
		1: Natural Language Dates
		2: Advanced URI
		3: Minimal Theme Settings

Additional information

In my case, I was unable to restore all the settings successfully just using obsidian. Somehow, even file recovery and sync settings recovery were ineffective. I fortunately have external backups.

Thanks. This works fine on desktop.

Which obsidian version are talking about?

Ah, I copy/pasted from Show Debug Info on mobile. Oddly, that doesn’t include the version on mobile. Strange omission. I updated the ticket with my version, 1.2.1 (52)

should be fixed in the next version

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.