[SOLVED] Neos 4.0 References Selection not show in Editor

Hi,

I just tested my Site Package with Neos 4.0 and I noticed that the Editor is no longer rendering the selection of my references.

I haven’t found any information on changes specific to this logic or any open issues.
Does anyone know of any change that could have impacted this or is there any other hint what I could check?

‘TS.Example:Post’:

categories:
type: references
ui:
label: ‘Categories’
inspector:
group: ‘category’
editorOptions:
nodeTypes: [‘TS.Example:Category’]

Is the inspector group category defined?

Hi,

yes I have the group defined, see below the NodeType configuration.

'TS.Example:Category':
  superTypes:
    'Neos.Neos:Document': TRUE
  childNodes:
    'main':
      type: 'Neos.Neos:ContentCollection'
  ui:
    label: Category
    icon: icon-cubes
    inspector:
      groups:
        category:
          label: Category
  properties:
    title:
      type: string
      ui:
        label: 'Title'
        inlineEditable: true
        aloha:
          placeholder: 'The Title'

@timo.schoepflin (I took the liberty to enable code highlighting to the snippet so it is readable, you can do that yourself using the “</>” button above the input area)
Is that the complete definition? Because the title property musses the ui.inspector.group now

Hi,

here is the full definition, I simply removed the title as it’s redundant.

'TS.Example:Post':
  superTypes:
    'Neos.Neos:Document': TRUE
  childNodes:
    'main':
      type: 'Neos.Neos:ContentCollection'
  ui:
    label: Post
    icon: icon-cube
    inspector:
      groups:
        post:
          label: Post
  properties:
    categories:
      type: references
      ui:
        label: 'Categories'
        inspector:
          group: category
          editorOptions:
            nodeTypes: ['TS.Example:Category']
'TS.Example:Category':
  superTypes:
    'Neos.Neos:Document': TRUE
  childNodes:
    'main':
      type: 'Neos.Neos:ContentCollection'
  ui:
    label: Category
    icon: icon-cubes
    inspector:
      groups:
        category:
          label: Category

The group category is not defined in the TS:Example:Post NodeType, there is only a group post

…i.e. if you change group: category to group: post it should work

1 Like

ok thanks understood.