-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP64, 7.1.10 DXP FP13, 7.1.X, Master
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Sprint:S02E03 - L.A. Confidential, S02E04 - Home alone
-
Git Pull Request:
When an enum is added to a SoyContext or template the rendering fails with an exception.
Steps to reproduce in master:
- Start portal
- Deploy attached JAR file to Liferay (overwriting portal's provided hello soy bundle)
- Go to http://localhost:8080/
- Add a Hello Soy Portlet to the page
Note for 7.0.x: use files prefixed with "7.0-" and remove that prefix before deployment to avoid duplicates.
Expected results:
- Portlet should be rendered
Actual results:
- Portlet is not rendered and exceptions are seen in the server console
Steps to reproduce in 7.0:
- Start portal
- Expand soy-params-7-0.zip
- Deploy the JAR file inside the build/lib subfolder of the expanded ZIP
- Navigate to http://localhost:8080
- Add a Sample Portlet to the page
Expected results:
- Portlet should render the strings:
Enum: VALUE
HTML: bold
Actual results:
- Portlet renders a Java object dump instead of bold