Deck case can not be changed anymore

arthur's Avatar

arthur

18 May, 2020 09:31 PM

I just remarked a bug. if you try to rename Default to default, you can't, because it is detected as a deck name which already exists.
If I recall correctly, before moving to rust, this was allowed.

I was trying to make a PR to correct this. But i can't figure out what causes anki.rsbackend.ExistsError: to be raised. I understand it's proto_exception_to_native("exists") but I can't follow the code anymore

  1. Support Staff 1 Posted by Damien Elmes on 19 May, 2020 05:56 AM

    Damien Elmes's Avatar

    Renaming works for me in the latest master.

  2. 2 Posted by arthur on 19 May, 2020 07:55 PM

    arthur's Avatar

    I've tested with .1.26, I've not tested with master yet. I don't recall how I did install protoc last time, I don't know why I fail to do it again; so I can't run from master

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac