TypeError: Cannot read properties of null (reading 'getIn') #6790
-
Describe the bug To Reproduce
Expected behavior Applicable Versions:
CMS configuration backend:
name: proxy
proxy_url: *Removed*
local_backend: true
media_folder: static/img
public_folder: /img
site_url: *Removed*
display_url: *Removed*
collections:
- name: product-categories
identifier_field: name
label: Product Categories
label_singular: Product Category
folder: src/collections/shop/categories
create: true
path: "{{slug}}/index"
editor:
preview: false
fields:
- label: Name
name: name
widget: string
- label: Slug
name: slug
widget: string
publish: true
type: folder_based_collection
media_folder: ""
public_folder: ""
sortable_fields:
- name
- name
view_filters: []
view_groups: []
- name: products
identifier_field: name
label: Products
label_singular: Product
folder: src/collections/shop/products
create: true
path: "{{slug}}/index"
media_folder: ""
public_folder: ""
editor:
preview: false
fields:
- label: Category
name: product-category
widget: relation
collection: product-categories
search_fields:
- name
value_field: "{{fields.slug}}"
display_fields:
- name
- label: Name
name: name
widget: string
- label: Price
name: price
widget: number
value_type: float
- label: Description
name: description
widget: markdown
- label: Variations
name: variations
widget: list
summary: "{{summary}}"
collapsed: false
field:
label: Variation
name: variation
widget: object
summary: "{{fields.name}}"
collapsed: true
fields:
- label: Name
name: name
widget: string
- label: Variation Names
name: variation-names
widget: list
summary: "{{fields.variation-name}}"
collapsed: true
field:
label: Variation Name
name: variation-name
widget: string
- label: Image Gallery
name: image-gallery
widget: list
summary: "{{fields.image}}"
collapsed: false
field:
label: Image
name: image
widget: image
publish: true
type: folder_based_collection
sortable_fields:
- name
- name
- description
view_filters: []
view_groups: []
publish_mode: simple
slug:
encoding: unicode
clean_accents: false
sanitize_replacement: "-"
isFetching: false
error: null
Additional context |
Beta Was this translation helpful? Give feedback.
Answered by
martinjagodic
May 30, 2023
Replies: 1 comment 1 reply
-
You should use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Kenjinful
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should use
fields
instead offield