Bug in node:repair and invalid dimensions values

It’s about this feature an content dimensions:

https://github.com/neos/neos-development-collection/pull/627

I’ve got following dimension setup:

TYPO3:
  TYPO3CR:
    contentDimensions:
      language:
        label: Language
        icon: icon-language
        default: de
        defaultPreset: de
        presets:
          de:
            label: Deutsch
            values: ['de']
            uriSegment: de
          fr:
            label: Français
            values: ['fr', 'de']
            uriSegment: fr
          it:
            label: Italiano
            values: ['it', 'de']
            uriSegment: it
          en:
            label: English
            values: ['en', 'de']
            uriSegment: en
      country:
        label: Country
        icon: icon-globe
        default: ch
        defaultPreset: ch
        presets:
          ch:
            label: Schweiz
            values: ['ch']
            uriSegment: ''
          at:
            label: Österreich
            values: ['at', 'ch']
            uriSegment: AT
            constraints:
              language:
                fr: false
                it: false
          int:
            label: International
            values: ['int', 'ch']
            uriSegment: 'int'

If I run the node:repair I get tons of invalid dimensions. For example:

Node /sites/theme/node-5768ee795cda2/node-576be3dd817d8 has invalid dimension values: {"country":["ch"],"language":["fr"]}

The combination fr_ch is allowed and not invalid

Also the backend selector of the dimensions doesn’t work correctly: In this example it is possible to select fr_at. It doesn’t show the page, I got an error, but the handling is worse than in Version 2.1

Hi @uhlmann, that sounds like a bug then. Do you mind creating a bug report for it at jira.neos.io? I can take a look at it then.

What’s weird though is that the dimension selector in your UI doesn’t give you the correct results either. If that is the case, it is not related to the node:repair change.