1

I want to use use only FieldLanguageFallback and NOT ItemLanguageFallback.

I've a multisite configuration running with

enableFieldLanguageFallback=true

and with

enableItemLanguageFallback=false

on my site configs I've set this settings and

enforceVersionPresence="true"

now I've created my site in German and I've taken a look into my English site where only some content is present in english and here the hole content is shown (mostly in German) also from content items which have NO Version in english Language.

I thought, that Content would not show up, when I have no version from specific content item in this language and the itemlevel fallback would only be active when I have a Item version in this language?

So I've a lot content items like this:

enter image description here

but the related content is shown in the page in german.

The Settings for Language Fallback I've made on my site are right so far I can see but strange ist the following:

As you can see I've Version 1 but Versions Count = 0 how can this be?

enter image description here

Where can I see where the Vesion is resolved I get back here?

1
  • Q.E.D on why these 3 features in combination should be avoided like the plague ;-)
    – Mark Cassidy
    Sep 10 '19 at 15:21
4

First of all. Items don't have versions, only field values do.

So enabling field level fallback does exactly what you would expect. Item level fallback is a virtual construct.

Secondly, what you're doing breaks with Sitecore's recommendation that state:

You should not use both item- and field-level fallback on the same item because it makes it difficult to maintain an overview of the versions that different items and fields fall back to.

Which is more or less exactly describing your current situation.

That said; the answer to your question - if you enable field level fallback, you will get fallback values for your field values; regardless of the item level fallback setting.

Source: Enable and set up language fallback

3
  • sorry but I am not shure If I missunderstood something in english but they wrote You should NOT use both item- and field-level fallback on the same item that means that only one of the Flags should be active or? Like I descriped above, I have only item or field level activated. Sep 11 '19 at 5:00
  • But what you're saying is; that on your item - if you HAVE a German "version" and you DO NOT have an English "version" - German content is being shown on the English "version". Which is exactly what fallback is supposed to do.
    – Mark Cassidy
    Sep 11 '19 at 7:29
  • I've updates my question with an other screenshot, where you can see that I got back 1 Version but I've no Versions Sep 17 '19 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.