silverstripe-asset-admin icon indicating copy to clipboard operation
silverstripe-asset-admin copied to clipboard

Folders disappearing after navigation

Open dnsl48 opened this issue 6 years ago • 6 comments

Affected Version

SilverStripe 4.2.1, 4.3

Description

Newly created folders disappear after navigating into a directory and going back.

Steps to Reproduce

  1. Log in to the CMS admin panel
  2. Go into the "Files" section
  3. Press "Add folder" button
  4. Create a folder with any name
  5. Click on the folder name to navigate into it
  6. Press the button "Navigate up a level"

Result: the newly created folder disappears from the panel

dnsl48 avatar Nov 05 '18 05:11 dnsl48

It's still there in 4.3.

maxime-rainville avatar Dec 14 '18 01:12 maxime-rainville

@maxime-rainville @dnsl48 can you confirm this is still an issue in 4.4? We did some work similar to this ages ago, and I'm unable to replicate this.

bergice avatar Aug 27 '19 00:08 bergice

I think @unclecheese did some work with GraphQL caching or something along those line that fixed this issue. Or I might just be imagining things.

maxime-rainville avatar Aug 27 '19 23:08 maxime-rainville

I can recreate in 4.3, but not 4.4. Closing the issue.

brynwhyman avatar Aug 28 '19 20:08 brynwhyman

I can still reproduce this in 4.6.x-dev:

  1. Create a folder
  2. Save the folder
  3. Close the detail view
  4. Observe the new folder has disappeared

I can also reproduce this with the original set of steps. Reopening.

Cheddam avatar Jun 09 '20 18:06 Cheddam

Confirmed this happens sometimes in the CMS 5 beta as well. It's yet another example of state issues in the assets section.

GuySartorelli avatar Feb 22 '23 23:02 GuySartorelli