Skip to content

Error: Cannot find a descendant at path [2,1,2] in node: {"children":[{"type":"paragraph","childr... #7475

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

Open
ruhtinas opened this issue May 22, 2025 · 0 comments

Comments

@ruhtinas
Copy link

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Decap CMS version: [email protected]
  • Git provider: git-gateway
  • Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0

CMS configuration

backend:
  name: git-gateway
  branch: main
media_folder: src/assets/images
public_folder: ../src/assets/images
collections:
  - name: artists
    label: Esiintyjät
    label_singular: Esiintyjä
    folder: _artists
    create: true
    fields:
      - label: Nimi
        name: title
        widget: string
      - label: Lava
        name: stage
        widget: select
        options:
          - Aurinkomäki
          - Energiakontti
          - Jatkoklubi
        default: Aurinkomäki
        required: false
      - label: Aika
        name: time
        widget: datetime
        format: HH:mm
        required: false
      - label: Intro
        name: intro
        widget: text
        required: false
      - label: Kuvaus
        name: description
        widget: markdown
        editor_components: []
        required: false
      - label: Kuva
        name: image
        widget: image
        required: false
        allow_multiple: false
      - label: Kuvan lähde
        name: image_credit
        widget: string
        required: false
      - label: Julkistettu
        name: is_public
        widget: boolean
        required: false
      - label: Järjestysnumero
        name: order
        description: Määrittää esiintyjien järjestyksen sivuilla. (Ensisijaisesti lava,
          toissijaisesti tämä numero)
        widget: number
        required: false
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - intro
    view_filters: []
    view_groups: []
  - name: news
    label: Uutiset
    label_singular: Uutinen
    folder: _news
    create: true
    fields:
      - label: Päivämäärä
        name: date
        widget: datetime
        format: DD.MM.YYYY
      - label: Otsikko
        name: title
        widget: string
      - label: Sisältö
        name: content
        widget: markdown
        editor_components: []
        required: false
      - label: Kuva
        name: image
        widget: image
        required: false
        allow_multiple: false
      - label: Kuvan lähde
        name: image_credit
        widget: string
        required: false
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - content
    view_filters: []
    view_groups: []
  - name: info
    label: Info
    label_singular: Info
    folder: _info
    create: true
    fields:
      - label: Otsikko
        name: title
        widget: string
      - label: Korostettu sisältö
        name: highlighted_content
        widget: markdown
        required: false
        editor_components: []
      - label: Sisältö
        name: content
        widget: markdown
        editor_components: []
      - label: Kuva
        name: image
        widget: image
        required: false
        allow_multiple: false
      - label: Linkki
        name: link
        widget: string
        required: false
      - label: Linkkiteksti
        name: link_text
        widget: string
        required: false
      - label: Järjestysnumero
        name: order
        description: Määrittää info-osioiden järjestyksen sivulla. Pienin numero näkyy
          ensimmäisenä.
        widget: number
        required: false
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - content
    view_filters: []
    view_groups: []
  - name: partners
    label: Yhteistyökumppanit
    label_singular: Yhteistyökumppani
    folder: _partners
    create: true
    fields:
      - label: Nimi
        name: title
        widget: stri
...
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

1 participant