Skip to content

Error: Cannot find a descendant at path [24,2,1,0] in node: {"children":[{"type":"paragraph","chi... #7591

@PeterHorniak

Description

@PeterHorniak

Describe the bug
Upon removing a dot point from the page, replaces screen with grey debugging text "Error There's been an error - please open an issue on GitHub."
When editing a single word within the dot point, upon saving it gives error "failed to persist entry" "resource not accessible by integration".

When editing with Rich Text and then switching to Markdown, I noticed that "" was leftover in the line * Contact politicians.
But when fixing that in Markdown and hitting Save, it would give the error "failed to persist entry" "resource not accessible by integration".

To Reproduce
Open page https://pauseai-cms.netlify.app/#/collections/posts/entries/australia
Remove the dot point "Sign the Australians for AI Safety open letter"
Used browser Chrome Version 139.0.7258.155 (Official Build) (64-bit)
and Edge Version 139.0.3405.125 (Official build) (64-bit)

Expected behavior
Allows me to make the change, hit Save and then submit pull request for change.

Screenshots

Applicable Versions:

  • Decap CMS version: decap-cms-app@3.8.0
  • Git provider: github
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

CMS configuration

backend:
  name: github
  repo: PauseAI/pauseai-website
  branch: main
  open_authoring: true
  base_url: https://pauseai-cms-proxy.netlify.app
  squash_merges: true
publish_mode: editorial_workflow
media_folder: /static
public_folder: /
editor:
  preview: false
collections:
  - name: posts
    label: Posts
    label_singular: Post
    folder: src/posts
    create: true
    slug: "{{fields.slug}}"
    fields:
      - name: title
        label: Title
        widget: string
      - name: slug
        label: Slug
        widget: string
        required: false
      - name: description
        label: Description
        widget: string
        required: false
      - name: image
        label: Image
        widget: image
        required: false
      - name: author
        label: Author
        widget: string
        required: false
      - name: date
        label: Date
        widget: datetime
        required: false
      - name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - author
      - description
    view_filters: []
    view_groups: []
    editor:
      preview: false
  - label: Communities
    description: Shown on pauseai.info/communities
    name: communities
    format: json_tabs
    files:
      - label: PauseAI communities
        name: pauseai
        file: src/routes/communities/pauseai-communities.json
        fields:
          - label: Communities
            name: communities
            widget: list
            fields:
              - label: Name
                name: name
                widget: string
              - label: Latitude
                name: lat
                widget: number
                value_type: float
                step: 0.0001
              - label: Longitutde
                name: lon
                widget: number
                value_type: float
                step: 0.0001
              - label: Link
                name: link
                widget: string
                hint: "**Available placeholders:** $$DISCORD_GLOBAL$$, $$DISCORD_US$$,
                  $$DISCORD_GERMANY$$, $$DISCORD_FRANCE$$, $$WHATSAPP_ITALY$$"
      - label: Adjacent communities
        name: adjacent
        file: src/routes/communities/adjacent-communities.json
        fields:
          - label: Communities
            name: communities
            widget: list
            fields:
              - label: Name
                name: name
                widget: string
              - label: Latitude
                name: lat
                widget: number
                value_type: float
                step: 0.0001
              - label: Longitutde
                name: lon
                widget: number
                value_type: float
                step: 0.0001
              - label: Link
                name: link
                widget: string
    publish: true
    type: file_based_collection
    sortable_fields:
      - commit_date
      - commit_author
    view_filters: []
    view_groups: []
    editor:
      preview: false
  - name: messages
    label: Messages
    format: json_dict
    files:
      - label: English Messages
        name: en
        file: messages/en.json
        fields:
          - name: entries
            label: Messages
            widget: list
            fields:
              - name: key
                label: Key
                widget: string
              - name: value
                label: Value
                widget: string
    publish: true
    type: file_based_collection
    sortable_fields:
      - commit_date
     
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions