[SOLVED] Neos 4.0 References Selection not show in Editor


(Timo Schoepflin) #1

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’]


(Bastian Waidelich) #2

Is the inspector group category defined?


(Timo Schoepflin) #3

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'

(Bastian Waidelich) #4

@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


(Timo Schoepflin) #5

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

(Bastian Waidelich) #6

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


(Bastian Waidelich) #7

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


(Timo Schoepflin) #8

ok thanks understood.