Skip to content

Connection error after closing failed items list and opening another list #5652

Closed

Description

@imsodin
  1. Open any list of failed items and close them again.
  2. In another folder open a list of locally changed items (maybe another list or the same folder would also work, but I didn't try).
  3. Close it.

Expected: Nothing
Result: At some point during 2. or 3. a connection error pops up. Refreshing resolves it.

From console:

HTTPError {…}
​config: Object { method: "GET", transformRequest: (1) […], url: "rest/folder/pullerrors?folder=undefined&page=1&perpage=undefined", … }
​data: "no such folder\n"
​headers: function headersGetter()
​status: 404
​<prototype>: {…}

Stack:

refreshFailed (syncthingController.js#656)
$parseFunctionCall (angular.js#12493)
scopeName (angular.js#7773)
goToPage (angular-dirPagination.js#373)
dirPaginationControlsLinkFn (angular-dirPagination.js#339)
$digest (angular.js#14431)
$apply (angular.js#14694)
applyAsyncId (angular.js#14984)
completeOutstandingRequest (angular.js#4959)
timeoutId (angular.js#5347)

Looks like some kind of deferred call by angular.

Activity

  1. added
    bug
    on Apr 13, 2019
  2. imsodin commented on May 17, 2019

    @imsodin
    MemberAuthor

    Currently we are doing a needless api call whenever we open a failed or locally changed files modal (probably all this file list modals), in case of the failed items I just did something slightly differently, so an error resulted. Is anyone interested in getting to the bottom of this, i.e. actually preventing these superfluous calls?

    I have no clue where to start. I can do a simple fix to make the call succeed (and do nothing), as all the other calls do.

  3. added 3 commits that reference this issue on Jun 2, 2019
    3a6a016
    dafca3e
    eeacec3
  4. added a commit that references this issue on Jun 10, 2019
    47a12e9
  5. added this to the v1.2.0 milestone on Jun 10, 2019
  6. added
    frozen-due-to-age
    on Jun 4, 2020
  7. locked and limited conversation to collaborators on Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions