Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values deleted after column type change #943

Open
tjaska opened this issue Apr 9, 2024 · 1 comment
Open

Values deleted after column type change #943

tjaska opened this issue Apr 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tjaska
Copy link

tjaska commented Apr 9, 2024

Describe the bug

I accidentally changed column type to Tag. This column had numbers in it, so thinking it was Number type (it wasn't, it was Text type) I changed it to Number and all my data was gone.

On further investigation, it seems if I change the type back to Tag, the values are present, but disassociated from their original rows. Fortunately I could restore it from Obsidian Sync history log.

It seems Number <-> Tag conversion is broken both ways.

Value conversion should never be destructive and if there is even a chance of that, there should be a warning prompt.
Let me know if I can be of further help.

Steps to reproduce

  1. Have a Text type column, with various numeric entries.
  2. Change it to Tag type. All the numbers get converted into tags successfully
  3. Change it into Number type -> all the values are gone.

Expected behavior

Values are converted to numbers.

Are you using the mobile app?

No

Obsidian debug info

SYSTEM INFO:
Obsidian version: v1.5.12
Installer version: v1.4.13
Operating system: Windows 10 Pro 10.0.19045
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: Minimal v7.5.2
Snippets enabled: 3
Restricted mode: off
Plugins installed: 29
Plugins enabled: 29
1: Dataview v0.5.66
2: Kanban v1.5.3
3: Templater v2.2.3
4: Quick Explorer v0.2.8
5: Hotkeys++ v0.2.7
6: Editor Syntax Highlight v0.1.3
7: DB Folder v3.5.1
8: Admonition v10.2.0
9: Settings Search v1.3.10
10: Commander v0.5.1
11: Projects v1.17.2
12: Linter v1.23.2
13: Omnisearch v1.21.1
14: Natural Language Dates v0.6.2
15: Janitor v1.0.7
16: Emoji Shortcodes v2.2.0
17: Minimal Theme Settings v7.5.0
18: Excalidraw v2.1.1
19: Tag Wrangler v0.6.1
20: Style Settings v1.0.8
21: Home tab v1.1.2
22: Paste image rename v1.6.1
23: Bulk Rename v0.5.2
24: Numerals v1.2.0
25: Calendar v1.5.10
26: Image Toolkit v1.4.1
27: DataLoom v8.15.12
28: Table of Contents v0.2.0
29: Recent Files v1.3.10

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Relevant log output

No response

@tjaska tjaska added the bug Something isn't working label Apr 9, 2024
@jonasdumas
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants