Unable view DDL record

Description

1. Create a list using Todo definition
2. Add a record
3. View the record

At this point the exception the following exception is thrown in the console.

==> assignment: fieldValue=field.getRenderedValue(themeDisplay) [on line 44, column 9 in com/liferay/portlet/dynamicdatamapping/dependencies/init.ftl]
in include "../init.ftl" [on line 1, column 1 in com/liferay/portlet/dynamicdatamapping/dependencies/readonly/default.ftl]
----------
Java backtrace for programmers:
---------- freemarker.template.TemplateModelException: Method public java.lang.String com.liferay.portlet.dynamicdatamapping.storage.Field.getRenderedValue(java.util.Locale) throws com.liferay.portal.kernel.exception.PortalException,com.liferay.portal.kernel.exception.SystemException threw an exception when invoked on com.liferay.portlet.dynamicdatamapping.storage.Field@1fd2005a
at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Assignment.accept(Assignment.java:90)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.MixedContent.accept(MixedContent.java:92)

Activity

Show:

Mariano RuizJuly 31, 2012 at 8:05 AM

This error persist in LF 6.1 GA1 CE. I try with the liferay-portal-6.1.0-ce-ga1 blunded with Tomcat, and I try with the latest HEAD revision of https://github.com/liferay/liferay-portal.git (branch 6.1.x).

The error is launched only with the custom field is a selectbox.

Oriana ThamJuly 16, 2012 at 4:10 PM

Fixed on:
Tomcat 7 + MySQL 5. 6.1.x EE Portal GIT ID: 7c2bdd0433afd099c5a31a294178ee8b59e59444.

Michael SaechangJuly 16, 2012 at 3:20 PM

Committed on:
Portal 6.1.x CE GIT ID: 651f316727d13ab3dab534d78a5e97d28c9cfc86.
Portal 6.2.x GIT ID: 475be11214349df78bcb0a2cc16b3a7460eaa6f3.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Epic/Theme

Fix Priority

3

Git Pull Request

Bug Type

Regression Bug

Components

Affects versions

Priority

Zendesk Support

Created July 14, 2012 at 4:38 PM
Updated June 24, 2023 at 3:53 PM
Resolved July 15, 2012 at 11:02 PM
Loading...