Skip to content

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

@D41191630

Description

@D41191630

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: netlify-cms@2.10.192
  • Git provider: github
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

CMS configuration

backend:
  name: github
  repo: D41191630/Angular_Project_Test_CMS
  branch: master
  site_domain: netlifyangulardemo1.netlify.app
  use_graphql: true
publish_mode: editorial_workflow
show_preview_links: true
display_url: https://netlifyangulardemo1.netlify.app/
logo_url: https://netlifyangulardemo1.netlify.app//uploads/logo.jpg
media_folder: src/uploads
public_folder: /uploads
collections:
  - name: blog
    label: Blog
    folder: uploads
    create: true
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: blog
      - label: Title
        name: title
        widget: string
      - label: Publish Date
        name: date
        widget: datetime
      - label: Featured Image
        name: thumbnail
        widget: image
      - label: Rating (scale of 1-5)
        name: rating
        widget: number
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
    view_filters: []
    view_groups: []
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
isFetching: false
error: null

Additional context

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