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 get the start point in the node at path [2] because it has no start text node. #7190

Closed
dspivak opened this issue Apr 24, 2024 · 1 comment

Comments

@dspivak
Copy link

dspivak commented Apr 24, 2024

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/123.0.0.0 Safari/537.36

CMS configuration

backend:
  name: github
  squash_merges: true
  repo: ToposInstitute/topos.institute
  branch: main
  auth_scope: repo
  open_authoring: true
  preview_context: netlify-preview-url
publish_mode: editorial_workflow
media_folder: /files
public_folder: /files
search: false
collections:
  - name: blog
    label: Blog post
    folder: blog
    path: "{{slug}}/index"
    preview_path: blog/{{year}}-{{month}}-{{day}}-{{title}}
    publish: false
    delete: false
    create: true
    editor:
      preview: true
    media_folder: ""
    public_folder: ""
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    extension: qmd
    format: frontmatter
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: post
      - label: Title
        name: title
        widget: string
      - label: Subtitle
        name: subtitle
        widget: string
        required: false
        hint: Most posts don't have subtitles, but if you want one then you can have one
      - label: Date
        name: date
        widget: datetime
        format: YYYY-MM-DD
        date_format: YYYY-MM-DD
        time_format: false
      - label: Author
        name: author
        widget: list
        types:
          - label: Topos staff
            name: internal
            widget: object
            fields:
              - label: Name
                name: name
                widget: string
                hint: Your name as you want it to appear in the blog post
              - label: Internal webpage
                name: url
                widget: relation
                collection: people
                search_fields:
                  - title
                  - lastName
                value_field: /people/{{slug}}
                display_fields:
                  - title
                hint: Your name as it's listed on the 'Team' page
          - label: External author
            name: external
            widget: object
            fields:
              - label: Name
                name: name
                widget: string
              - label: Website
                name: url
                widget: string
                required: false
      - label: Tags
        name: categories
        widget: array
        hint: Comma-separated list of tags (e.g. category theory, geometry; look at
          previous blog posts for example tags)
      - label: Abstract
        name: abstract
        widget: text
        hint: A short summary of the post (two or three sentences), to appear in the
          blog archive
      - label: Thumbnail
        name: image
        widget: image
        required: false
        hint: The (optional) image to appear next to the summary in the blog archive
      - label: Numbered sections
        name: number-sections
        widget: boolean
        required: false
        hint: Automatically number sections? (Won't show up in preview on the right)
      - label: Body
        name: body
        widget: markdown
        required: false
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
    view_filters: []
    view_groups: []
  - name: people
    label: Personal page
    folder: people
    path: "{{slug}}/index"
    preview_path: people/{{title}}
    publish: false
    delete: false
    create: false
    editor:
      preview: false
    media_folder: ""
    public_folder: ""
    slug: "{{slug}}"
    extension: qmd
    format: frontmatter
    fields:
      - label: Name
        name: title
        widget: string
        hint: Full name
      - label: Last name
        name: lastName
 
...
@martinjagodic
Copy link
Member

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

@martinjagodic martinjagodic closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
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