decaporg / decap-cms

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

Error: Cannot find a descendant at path [146,2,0,2] in node: {"children":[{"type":"paragraph","ch... #7237

Closed gushworkadmin closed 4 days ago

gushworkadmin commented 4 days ago

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

CMS configuration

backend:
  name: github
  repo: openobserve/website4
  branch: main
  base_url: https://1hpdnvpqxj.execute-api.us-west-2.amazonaws.com
  auth_endpoint: /prod/auth
site_url: https://openobserve.ai
logo_url: /img/logo/logo_horizontal.svg
media_folder: public/img/resources
public_folder: /img/resources
collections:
  - name: resources
    label: Resources Posts
    label_singular: Resources Post
    folder: content/resources/posts
    create: true
    identifier_field: slug
    summary: "{{title}} ({{publishDate}})"
    fields:
      - label: Title
        name: title
        widget: string
      - label: SEO Title
        name: seoTitle
        widget: string
      - label: Description
        name: description
        widget: string
      - label: Banner Image
        name: img
        widget: image
      - label: Image Alt Text
        name: alt
        widget: string
      - label: Slug
        name: slug
        widget: string
      - label: Authors
        name: authors
        widget: list
        field:
          label: Author
          name: author
          widget: string
      - label: Publish Date
        name: publishDate
        widget: datetime
        format: YYYY-MM-DD
        time_format: false
      - label: Tags (Enter comma-separated)
        name: tags
        widget: list
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - slug
      - publishDate
      - commit_author
      - description
    view_filters: []
    view_groups: []
  - name: authors
    label: Authors
    label_singular: Authors
    editor:
      preview: false
    delete: false
    preview_path: authors
    files:
      - label: Authors
        name: authors
        file: content/resources/authors.json
        fields:
          - label: Authors
            name: authors
            widget: list
            allow_add: true
            fields:
              - label: Name
                name: name
                widget: string
              - label: Slug
                name: slug
                widget: string
              - label: Image
                name: img
                widget: image
              - label: Bio
                name: bio
                widget: string
              - label: Facebook Url
                name: facebookUrl
                widget: string
                required: false
              - label: Youtube Url
                name: youtubeUrl
                widget: string
                required: false
              - label: Twitter Url
                name: twitterUrl
                widget: string
                required: false
              - label: LinkedIn Url
                name: linkedInUrl
                widget: string
                required: false
              - label: Instagram Url
                name: instagramUrl
                widget: string
                required: false
    publish: true
    type: file_based_collection
    sortable_fields:
      - commit_date
      - commit_author
    view_filters: []
    view_groups: []
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
display_url: https://openobserve.ai
isFetching: false
error: null

Additional context

martinjagodic commented 4 days ago

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