Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media overview not showing images #17306

Closed
Amalie-Wowern opened this issue Oct 18, 2024 · 6 comments
Closed

Media overview not showing images #17306

Amalie-Wowern opened this issue Oct 18, 2024 · 6 comments
Assignees

Comments

@Amalie-Wowern
Copy link
Contributor

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.0.0-rc2

Bug summary

When i create a new folder and upload images, i can't see the images

1
2

Specifics

No response

Steps to reproduce

Go to the media section
create a folder
Upload images to the folder
click on the folder

Expected result / actual result

Expected to see an overview of uploaded images

Copy link

Hi there @Amalie-Wowern!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@iOvergaard
Copy link
Contributor

Hi @Amalie-Wowern, is this a new or an upgraded solution? We have seen some reports about the data type "List View - Media" not having the right views, e.g. a default setup should look like this:

image

If it doesn't have a List or Grid view, or if they were not migrated properly, nothing will show for folders. It would be helpful if you could share your configuration?

@iOvergaard iOvergaard added state/needs-more-info We don't have enough information to give a good reply affected/v15 labels Oct 18, 2024
@mjpraxis
Copy link
Contributor

@Amalie-Wowern @iOvergaard

We had the exact same problem. We are using uSync and the exported settings from earlier versions of v14 had some diffs compared to a plain/clean v14.3 and uSync'ed settings.

In the two ListViewContent and ListViewMedia the "CollectionView" value has changed from a .html file to eg."Umb.CollectionView.Media.Grid"

image

I changed the values in our "old" uSync settings files and imported them. And now everything is perfect.

@mjpraxis
Copy link
Contributor

Oh and BTW it fixed #17250
So now the "Create" button works again.

@Amalie-Wowern
Copy link
Contributor Author

@iOvergaard @mjpraxis

I have a new solution.
But i used usync files from a v14 and can confirm my issue was the same as @mjpraxis

@leekelleher leekelleher self-assigned this Oct 22, 2024
@leekelleher leekelleher added the state/needs-investigation This requires input from HQ or community to proceed label Oct 22, 2024
@leekelleher
Copy link
Member

Hi @Amalie-Wowern and @mjpraxis,

To clarify my understanding of this particular issue, on a v14 instance (either new or upgraded), when uSync files (that contain data-type ListView configuration for an older Umbraco version, e.g. it has path and no collectionView), then importing those files will cause the Collection View to disappear (in this case the Media section, but would also apply to Documents).

In the case of direct upgrades, the CMS does have a v14 database migration for converting the path value to the new collectionView value.

However, in the scenario where the older data-type configuration is being (re)imported by uSync, that migration would have already ran, so the older configuration has now replaced the newer configuration in the data-type/database.

If the uSync import is a one-time situation, then the simplest workaround is to go back into the List View data-types (after the import) and re-configure the Layout field with the corresponding collectionView.

If the uSync import (of the older data) is to be a regular occurrence, then those uSync XML files would need to be manually amended (exactly as @mjpraxis suggested above), then it can be re-imported.

There are other options to explore, such as the uSync Migrations project, which may have scope to handle these types of v14 data/schema changes. Although I must note, it's been over a year since I last looked at uSync Migrations, so I'm unsure how much it aligns with v14.


I'll close this issue off, as it's not a bug with the CMS itself. But do feel free to re-open if I have misunderstood and there is further information to consider.

@leekelleher leekelleher removed state/needs-more-info We don't have enough information to give a good reply state/needs-investigation This requires input from HQ or community to proceed type/bug labels Oct 22, 2024
@leekelleher leekelleher marked this as a duplicate of #18009 Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants