Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gushworkadmin opened this issue Jun 26, 2024 · 1 comment

Comments

@gushworkadmin
Copy link

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Decap CMS version: decap-cms@3.1.10
  • Git provider: github
  • Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants