You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is there is no property soydata.UnsanitizedText. Similarly, there is also no property soydata.SanitizedHtmlAttribute which cause similar problems later on.
Workaround: Perform the following text replacements after compilation in the resulting output file dossier.js
When Dossier is compiled using
compilation_level = "SIMPLE"
(instead of ADVANCED) in two places in src/js/BUILD, then this runtime error:The problem occurs in code generated from this template in dossier.soy
when simple-compiled, the above becomes (in part)
The problem is there is no property
soydata.UnsanitizedText
. Similarly, there is also no propertysoydata.SanitizedHtmlAttribute
which cause similar problems later on.Workaround: Perform the following text replacements after compilation in the resulting output file
dossier.js
using regular expressions:
find:
soydata\.(UnsanitizedText|SanitizedHtmlAttribute)
replace:
goog.soy.data.$1
The text was updated successfully, but these errors were encountered: