Skip to content

File lists do not properly reload when switching #27697

Closed

Description

@PVince81

Steps

  1. Go to "Deleted files" to preinitialize the list
  2. Go to "All files"
  3. Delete a file
  4. Go to "Deleted files"
  5. Refresh the page

Expected

When going back to "Deleted files", that list needs to refresh with new values, so the deleted file is visible.

Actual

List not refreshed.

The same happens if you restore a file from trash after coming from "all files", then going back there doesn't make the file appear.

Versions

ownCloud 10.0.0 RC1

Not sure if regression, I have the feeling that this did work before.

There were some changes regarding reload the list by @noveens, not sure if related.

Needs research.

Activity

  1. added this to the 10.0.1 milestone on Apr 20, 2017
  2. PVince81 commented on Apr 20, 2017

    @PVince81
    ContributorAuthor

    Ok, I just tried 9.1.5 and it works correctly there, so it's a regression.

    A git bisect should reveal when this was broken.

    @noveens do you have time to have a look ?

  3. PVince81 commented on Apr 20, 2017

    @PVince81
    ContributorAuthor

    Another case, even worse result:

    1. Share a file with someone else
    2. Switch to "Shared with others"
    3. Switch to "Shared with you"
    4. Switch back to "Shared with others"

    The list is not rendered any more, but the summary still says "1 file".
    Likely related to this refresh issue here.

  4. PVince81 commented on Apr 20, 2017

    @PVince81
    ContributorAuthor

    Regression introduced through #27282.

    The problem here is that the directory doesn't actually change when switching views, but we still need a way to force a refresh there.

  5. PVince81 commented on Apr 20, 2017

    @PVince81
    ContributorAuthor

    Or maybe we should destroy the list completely when switching away. So when switching back it would recreate it from scratch.

  6. PVince81 commented on Apr 20, 2017

    @PVince81
    ContributorAuthor

    I found a simple way: #27703

  7. modified the milestones: 10.0, 10.0.1 on Apr 20, 2017
  8. noveens commented on Apr 22, 2017

    @noveens
    Contributor

    Will test more regarding the issue after 4-5 days.
    Currently having exams at my university.

  9. lock commented on Aug 1, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  10. locked as resolved and limited conversation to collaborators on Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions