[SOLVED] FrontendNodeRoutePartHandler matchValue(): No node found on request path "fr"


(Andre Beherzig) #1

Hi

our settings.yaml looks like this:

Neos:
ContentRepository:
contentDimensions:
  language:
    label: 'de.arcosystem:Main:contentDimensions.language'
    icon: icon-language
    default: 'de'
    defaultPreset: 'de'
    resolution:
      mode: 'uriPathSegment'
    presets:
      'de':
        label: 'Deutsch'
        values: ['de']
        uriSegment: 'de'
      'fr':
        label: 'French'
        values: ['fr','de']
        uriSegment: 'fr'
  'country':
    default: 'ch'
    defaultPreset: 'ch'
    label: 'Country'
    icon: 'icon-globe'
    resolution:
      mode: 'topLevelDomain'
    presets:
      'uk':
        label: 'United Kingdom'
        values: ['uk']
        resolutionValue: 'uk'
      'de':
        label: 'Germany'
        values: ['de','fr']
        resolutionValue: 'de'
      'ch':
        label: 'Switzerland'
        values: ['ch','de']
        resolutionValue: 'ch'
        constraints:
          country:
            'de': true
            'ch': true
            '*': false
      'at':
        label: 'Austria'
        values: ['at','de','fr']
        resolutionValue: 'at'
      'fr':
        label: 'France'
        values: ['fr']
        resolutionValue: 'fr'
      'us':
        label: 'United States'
        values: ['us']
        resolutionValue: 'com'

We are allways ruuning into this error:

FrontendNodeRoutePartHandler matchValue(): No node found on request path “fr”

In Backend we are able to switch between all languages but on frontpage we are just redirected to main page. Any idea why?

thanks


(Roland Schütz) #2

So have you run the core migration or did you create the content after defining the dimensions?


(Andre Beherzig) #3

We fixed this issue:

Neos:
Form:
yamlPersistenceManager:
  savePath: 'resource://...../Private/Form/'
presets:
  bootstrap:
    title: 'Twitter bootstrap'
    parentPreset: default
    formElementTypes:
      'Neos.Form:Base':
        renderingOptions:
          layoutPathPattern: 'resource://..../Private/Templates/BoxedContactForm/{@type}.html'
      'Neos.Form:FormElement':
        properties:
          elementClassAttribute: form-control
      'Neos.Form:MultiLineText':
        properties:
          elementClassAttribute: form-control
 ContentRepository:
contentDimensions:
  'language':
    label: 'Language'
    icon: icon-language
    default: 'de'
    defaultPreset: 'de'
    resolution:
      mode: 'uriPathSegment'
    presets:
      'de':
        label: 'Deutsch'
        values: ['de']
        uriSegment: 'de'
        constraints:
          country:
            'de': true
            'at': true
            'ch': true
            '*': false
      'fr':
        label: 'French'
        values: ['fr','de']
        uriSegment: 'fr'
        constraints:
          country:
            'de': true
            'ch': true
            'at': true
            'fr': true
            '*': false
      'en':
        label: 'Englisch'
        values: ['en','de']
        uriSegment: 'en'
        constraints:
          country:
            'de': true
            'at': true
            'ch': true
            'fr': true
            'en': true
            '*': false

  'country':
    default: 'ch'
    defaultPreset: 'ch'
    label: 'Country'
    icon: 'icon-globe'
    resolution:
      mode: 'topLevelDomain'
    presets:
      'uk':
        label: 'United Kingdom'
        values: ['uk']
        resolutionValue: 'uk'
      'de':
        label: 'Germany'
        values: ['de']
        resolutionValue: 'de'
      'ch':
        label: 'Switzerland'
        values: ['ch','de','at']
        resolutionValue: 'ch'
      'at':
        label: 'Austria'
        values: ['at']
        resolutionValue: 'at'
      'fr':
        label: 'France'
        values: ['fr']
        resolutionValue: 'fr'
      'us':
        label: 'United States'
        values: ['us']
        resolutionValue: 'com'

(Roland Schütz) #4

Great to hear. Please prefix your topic with "[SOLVED] "