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 find a descendant at path [3,5] in node: {"children":[{"type":"paragraph","children... #7128

Closed Mishmcq closed 4 months ago

Mishmcq commented 4 months ago

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

CMS configuration


backend:
  name: github
  repo: Fuelweb/dishfun
  branch: main
  base_url: https://protected-plains-93496.herokuapp.com
  squash_merges: true
  site_url: https://www.dishfun.com
media_folder: assets/images
logo_url: https://www.fuelwebmarketing.com/assets/images/fuelweb-nobg.png
collections:
  - name: pages
    label: Pages
    folder: _pages
    create: true
    editor:
      preview: false
    view_groups:
      - label: Drafts
        field: draft
        id: draft__undefined
    view_filters:
      - label: Drafts
        field: draft
        pattern: true
        id: draft__true
    summary: "{{titletag}}"
    fields:
      - label: Title (used for default url and netlify display)
        name: title
        widget: string
        required: true
      - label: "Draft: while on the page will not be published"
        name: draft
        widget: boolean
        default: true
        required: true
      - label: Layout
        name: layout
        widget: string
        default: page-full
      - label: "Permalink (optional: link is named automatically from the title field)"
        name: permalink
        widget: string
        required: false
      - label: SEO Title Tag
        name: titletag
        widget: string
      - label: SEO Description (Ideally 150 - 160 characters MAX)
        name: description
        widget: string
      - label: Body
        name: body
        widget: markdown
      - label: Sitemap
        name: sitemap
        widget: boolean
        default: true
        required: true
      - label: JSON Schema Markup
        name: schema
        widget: text
        required: false
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
  - name: blog
    label: Blog (Michelle)
    folder: _blogposts
    create: true
    preview_path: blog/{{slug}}
    editor:
      preview: false
    view_groups:
      - label: Year
        field: date
        pattern: \d{4}
        id: date__\d{4}
    view_filters:
      - label: Drafts
        field: draft
        pattern: true
        id: draft__true
    summary: "{{date}} - {{h1Headline}}"
    fields:
      - label: Title (used for url and netlify display)
        name: title
        widget: string
        required: true
      - label: Layout
        name: layout
        widget: hidden
        default: post
      - label: "Draft: while on the page will not be published"
        name: draft
        widget: boolean
        default: true
        required: true
      - label: Publish Date
        name: date
        widget: datetime
        format: YYYY-MM-DD
        time_format: false
      - label: SEO Title Tag
        name: titletag
        widget: string
      - label: SEO Description (Ideally 150 - 160 characters MAX)
        name: description
        widget: text
      - label: Author
        name: author
        widget: select
        options:
          - Michelle McHugh
          - Alfred Rasch
      - label: Featured Image
        name: featuredImage
        widget: image
      - label: Featured Image Alt Tag
        name: featuredImageAlt
        widget: string
      - label: "Permalink (optional: link is named automatically from the title field)"
        name: permalink
        widget: string
        required: false
      - label: "H1: H1 needs to go here for SEO"
        name: h1Headline
        widget: string
      - label: Body
        name: body
        widget: markdown
      - label: Sitemap
        name: sitemap
        widget: boolean
        default: true
        required: true
      - label: JSON Schema Markup
        name: sc
...
martinjagodic commented 4 months ago

Hi @Mishmcq, 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.