You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GUI stuck with "id is not defined" error when trying to ignore non-existent folder #7077
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validateduiIssues related to the graphical user interface
Wait for the "New Folder" pop-up to show on Device B.
Delete the folder on Device A.
Clicking on the "Ignore" button on Device B results in a JS error.
id is not defined
at Scope.$scope.ignoreFolder (syncthingController.js:1930)
at $parseFunctionCall (angular.js:12493)
at callback (angular.js:21719)
at Scope.$eval (angular.js:14589)
at Scope.$apply (angular.js:14688)
at HTMLButtonElement.<anonymous> (angular.js:21724)
at HTMLButtonElement.dispatch (jquery-2.2.2.js:4755)
at HTMLButtonElement.elemData.handle (jquery-2.2.2.js:4567)
It seems that the only way to get rid of the pop-up is to remove the PendingFolder element from config.xml.
Note that the problem is not related to "non-existent" folders. The ignoreFolder() function was simply using a wrong variable name after a recent code refactoring, so it couldn't work at all.
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validateduiIssues related to the graphical user interface
Activity
gui: Fix another undefined variable access (fixes syncthing#7077).
acolomb commentedon Nov 1, 2020
Fix submitted as PR #7078.
acolomb commentedon Nov 1, 2020
Note that the problem is not related to "non-existent" folders. The
ignoreFolder()function was simply using a wrong variable name after a recent code refactoring, so it couldn't work at all.tomasz1986 commentedon Nov 1, 2020
That is good to know. I did not even bother trying to ignore a folder without all the other steps 😳.
Merge branch 'main' into encryption-featureflag
Merge tag 'v1.12.0' into ios_try_syncthing-1.12