Arbejdsglæde
Arbejdsglæde

Reputation: 14088

Glass mapper v2 how to fallback to default language

I am using glass mapper v2 in my project. Glass Mapper working great, but in case I added new language to site, glass mapper can't read a lot of properties and I am getting Null Reference errors. I would like to have glass mapper behavior like read Default Sitecore Language data in case language is skipped. Is it real ? Thanks.

Upvotes: 0

Views: 369

Answers (1)

jammykam
jammykam

Reputation: 17000

Glass is just an ORM for Sitecore, and does not handle any of the data processing or retrieval of items that may go on within Sitecore processes.

If you need language fallback then consider using the Language Fallback module or the Field Fallback module depending on your needs. Both are available from the Sitecore Marketplace.

Upvotes: 8

Related Questions