Skip to content

Don't rename duplicate folders (fixes #1675) - #1988

Merged
AudriusButkevicius merged 1 commit into
syncthing:masterfrom
calmh:dups
Jun 23, 2015
Merged

AudriusButkevicius merged 1 commit into
syncthing:masterfrom
calmh:dups

Conversation

@calmh

@calmh calmh commented Jun 22, 2015

Copy link
Copy Markdown
Member

Renaming them puts the user in a difficult situation as they can't
rename them back in the GUI. This way, they need to fix the config in
the same way it got broken (manual editing or external tool).

Renaming them puts the user in a difficult situation as they can't
rename them back in the GUI. This way, they need to fix the config in
the same way it got broken (manual editing or external tool).
@calmh

calmh commented Jun 22, 2015

Copy link
Copy Markdown
Member Author

Instead, they end up with this:

screen shot 2015-06-22 at 11 29 28

Unfortunately the GUI is indexed by folder ID, so it can't display both...

@AudriusButkevicius

Copy link
Copy Markdown
Member

How does this suddenly help fixing it? Removal removes both folders I assume?
How did they manage to get a duplicate in the first place? I thought that angular did validation for this?

@calmh

calmh commented Jun 23, 2015

Copy link
Copy Markdown
Member Author

It helps by not fucking up the config more than it already is. :) As you say, it shouldn't be possible to get into this state anyhow from just within syncthing.

AudriusButkevicius added a commit that referenced this pull request Jun 23, 2015
Don't rename duplicate folders (fixes #1675)
@AudriusButkevicius
AudriusButkevicius merged commit fd9bc20 into syncthing:master Jun 23, 2015
@calmh
calmh deleted the dups branch July 1, 2015 21:07
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jun 16, 2017
@syncthing syncthing locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants