decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.65k stars 3.02k forks source link

Error: Cannot get the leaf node at path [2,3,3] because it refers to a non-leaf node: {"type":"pa... #7137

Closed seabcc closed 3 months ago

seabcc commented 3 months ago

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

CMS configuration


backend:
  name: github
  repo: Holderchem/holderchem
  branch: master
local_backend: true
media_folder: static/assets
public_folder: static/assets
i18n:
  &a1
  structure: multiple_files
  locales:
    - en
    - ar
    - fr
  default_locale: en
collections:
  - name: homePage
    label: Home Page
    label_singular: Home Page
    slug: "{{fields.slug}}"
    folder: content/editablePages/home
    create: false
    i18n:
      structure: multiple_files
      locales:
        - en
        - ar
        - fr
      default_locale: en
    fields:
      - name: templateKey
        widget: hidden
        default: homePage
        i18n: duplicate
      - name: title
        label: Title
        i18n: translate
      - name: subtitle
        label: Subtitle
        i18n: translate
      - name: description
        label: Description
        widget: markdown
        i18n: translate
      - name: featuredSolutionsTitle
        label: Featured Solutions Title
        i18n: translate
      - name: featuredSolutions
        label: Featured Solutions
        widget: list
        fields:
          - name: solution
            label: Solution
            widget: relation
            collection: solution
            search_fields:
              - name
              - slug
            display_fields:
              - name
            value_field: slug
            i18n: none
        i18n: translate
      - name: featuredCategoriesTitle
        label: Featured Categories Title
        i18n: translate
      - name: featuredCategories
        label: Featured Categories
        widget: list
        fields:
          - name: category
            label: Category
            widget: relation
            collection: category
            search_fields:
              - name
              - slug
            display_fields:
              - name
            value_field: slug
            i18n: none
        i18n: translate
      - name: featuredBlogArticlesTitle
        label: Featured Blog Articles Title
        i18n: translate
      - name: featuredBlogArticlesDescription
        label: Featured Blog Articles Description
        widget: markdown
        i18n: translate
      - name: featuredBlogArticles
        label: Featured Blog Articles
        widget: list
        fields:
          - name: article
            label: Article
            widget: relation
            collection: article
            search_fields:
              - title
              - slug
            display_fields:
              - title
            value_field: slug
            i18n: none
        i18n: translate
      - name: featuredBlogArticlesLinkTitle
        label: Featured Blog Articles Link Title
        i18n: translate
      - name: featuredBlogArticlesLink
        label: Featured Blog Articles Link
        i18n: duplicate
      - name: featuredNewsTitle
        label: Featured News Title
        i18n: translate
      - name: featuredNews
        label: Featured News
        widget: list
        fields:
          - name: news
            label: News
            widget: relation
            collection: news
            search_fields:
              - title
              - slug
            display_fields:
              - title
            value_field: slug
            i18n: none
        i18n: translate
      - name: showArchivesLinkTitle
        label: Show Archives Link Title
        i18n: translate
      - name: showArchivesLink
        label: Show Archives Link
        i18n: duplicate
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
    view_
...
martinjagodic commented 3 months ago

Hi @seabcc, please fill out all the fields in the issue template. The information you provided is not enough to debug the problem.

I'm closing the issue for now. Once you add the missing information, I can open it again.