Skip to content

GUI stuck with "id is not defined" error when trying to ignore non-existent folder #7077

@tomasz1986

Description

@tomasz1986

How to reproduce:

  1. Share a folder from Device A to Device B.
  2. Wait for the "New Folder" pop-up to show on Device B.
  3. Delete the folder on Device A.
  4. Clicking on the "Ignore" button on Device B results in a JS error.

image

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.

Tested with main (v1.11.0-rc.3.dev.7.gdeafe4ca).

Metadata

Metadata

Assignees

No one assigned

    Labels

    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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions