Skip to content

TypeError: Cannot read properties of undefined (reading 'path') #6835

@edx-mostafa-eltahawy

Description

@edx-mostafa-eltahawy

Describe the bug
When i try to upload images from the media assets tab, firstly I cant see all my assets, secondly i get this error when i try uploading an asset. I am sure about the images folder path as it is the same path in all the collections and the media works perfectly under each collection

Applicable Versions:

  • Netlify CMS version: netlify-cms-app@2.15.72
  • Git provider: git-gateway
  • Browser version: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

CMS configuration

backend:
  name: git-gateway
  branch: main
media_folder: ../../src/images
public_folder: ../../src/images
collections:
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions