Access this.templateDefaultLang too early in preprocessing template
Exception
property-effects.html:1469 Uncaught TypeError: Cannot read property 'templateDefaultLang' of undefined
at HTMLElement._setPendingProperty (property-effects.html:1469)
at HTMLElement._setProperty (property-effects.html:1507)
at HTMLElement.Object.defineProperty.set (properties-changed.html:137)
at HTMLElement._constructDefaultBundle (i18n-behavior.html:1307)
at Function._i18nPreprocess (i18n-element.html:108)
at Function.get template [as template] (i18n-element.html:81)
at Function._finalizeClass (element-mixin.html:310)
at Function.finalize (properties-mixin.html:131)
at HTMLElement._initializeProperties (element-mixin.html:454)
at HTMLElement._initializeProperties (legacy-element-mixin.html:176)
[Polymer 2.4] Exception on preprocessing template
Root Cause
Access
this.templateDefaultLang
too early in preprocessingtemplate
Exception