この Web サイトを IE10 デスクトップで開くと、Freemarker エラー スタックが表示されます。
Error: on line 18, column 32 in WEB-INF/ftl/common/requestVariables.ftl
Expecting a number here, found: .
The problematic instruction:
----------
==> browserMinor=applicationBean.browser.browserMinor?number [on line 18, column 17 in WEB-INF/ftl/common/requestVariables.ftl]
in include "/WEB-INF/ftl/common/requestVariables.ftl" [on line 12, column 1 in WEB-INF/ftl/login/login.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.NonNumericalException: Error: on line 18, column 32 in WEB-INF/ftl/common/requestVariables.ftl
Expecting a number here, found: .
at freemarker.core.StringBuiltins$numberBI.calculateResult(StringBuiltins.java:186)
at freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Assignment.accept(Assignment.java:90)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.AssignmentInstruction.accept(AssignmentInstruction.java:86)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
connection-string を変更すると(F12 developer tools, press Tools > Change user-agen string > Mozilla Firefox)
、うまく機能します。
フレームワークのブラウザスニッフィングが原因ですか?