-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 2.0.5 EE, 2.0.5 CE
-
Fix Version/s: 2.1.X CE, 2.1.0 EE GA3
-
Component/s: Environment, Environment > General / Integration
-
Labels:None
-
Environment:Weblogic 10.3.6 + MySQL 5. Portal ee-6.1.30 GA3 GIT ID: 4422a0add4b7d867cbdd6b32c22a03e9aff735d0.
Plugins ee-6.1.30 GA3 GIT ID: 69f39048dc3c1a03a1e655747117f3a7cd966b54.
-
Epic/Theme:
-
Fix Priority:4
After deploying the tasks-portlet, user will get the following exception (portlet is still able to be added and used, no loss of functionality)
11:05:19,088 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:89] Portlets for D:\github\private\EE-61~1.X-B\WEBLOG~1.6\domains\deploy\tasks-portlet-6.1.20.1-ee-ga3-20130730133917974.war copied successfully. Deployment will start in a few seconds. <Jul 31, 2013 11:05:21 AM PDT> <Warning> <HTTP> <BEA-101342> <_appsdir_tasks-portlet_dir: Error(s) encountered while pre-compiling jsp jspURI view_comments.jsp:21:1: MBMessageDisplay cannot be resolved to a type MBMessageDisplay messageDisplay = MBMessageLocalServiceUtil.getDiscussionMessageDisplay(user.getUserId(), themeDisplay.getScopeGroupId(), TasksEntry.class.getName(), tasksEntry.getTasksEntryId(), WorkflowConstants.STATUS_APPROVED); ^-------------^ view_comments.jsp:21:35: MBMessageLocalServiceUtil cannot be resolved MBMessageDisplay messageDisplay = MBMessageLocalServiceUtil.getDiscussionMessageDisplay(user.getUserId(), themeDisplay.getScopeGroupId(), TasksEntry.class.getName(), tasksEntry.getTasksEntryId(), WorkflowConstants.STATUS_APPROVED); ^----------------------^ view_comments.jsp:21:89: user cannot be resolved MBMessageDisplay messageDisplay = MBMessageLocalServiceUtil.getDiscussionMessageDisplay(user.getUserId(), themeDisplay.getScopeGroupId(), TasksEntry.class.getName(), tasksEntry.getTasksEntryId(), WorkflowConstants.STATUS_APPROVED); ^-^ view_comments.jsp:21:107: themeDisplay cannot be resolved MBMessageDisplay messageDisplay = MBMessageLocalServiceUtil.getDiscussionMessageDisplay(user.getUserId(), themeDisplay.getScopeGroupId(), TasksEntry.class.getName(), tasksEntry.getTasksEntryId(), WorkflowConstants.STATUS_APPROVED); ^---------^ view_comments.jsp:21:139: TasksEntry cannot be resolved to a type MBMessageDisplay messageDisplay = MBMessageLocalServiceUtil.getDiscussionMessageDisplay(user.getUserId(), themeDisplay.getScopeGroupId(), TasksEntry.class.getName(), tasksEntry.getTasksEntryId(), WorkflowConstants.STATUS_APPROVED); ^-------^ view_comments.jsp:21:167: tasksEntry cannot be resolved MBMessageDisplay messageDisplay = MBMessageLocalServiceUtil.getDiscussionMessageDisplay(user.getUserId(), themeDisplay.getScopeGroupId(), TasksEntry.class.getName(), tasksEntry.getTasksEntryId(), WorkflowConstants.STATUS_APPROVED); ^-------^ view_comments.jsp:21:197: WorkflowConstants cannot be resolved MBMessageDisplay messageDisplay = MBMessageLocalServiceUtil.getDiscussionMessageDisplay(user.getUserId(), themeDisplay.getScopeGroupId(), TasksEntry.class.getName(), tasksEntry.getTasksEntryId(), WorkflowConstants.STATUS_APPROVED); ^--------------^ view_comments.jsp:23:1: MBThread cannot be resolved to a type MBThread thread = messageDisplay.getThread(); ^-----^ view_comments.jsp:24:1: MBTreeWalker cannot be resolved to a type MBTreeWalker treeWalker = messageDisplay.getTreeWalker(); ^---------^ view_comments.jsp:25:1: MBMessage cannot be resolved to a type MBMessage rootMessage = treeWalker.getRoot(); ^------^ view_comments.jsp:26:6: MBMessage cannot be resolved to a type List<MBMessage> messages = treeWalker.getMessages(); ^------^ view_comments.jsp:32:13: ListUtil cannot be resolved messages = ListUtil.sort(messages, new MessageCreateDateComparator(true)); ^-----^ view_comments.jsp:32:41: MessageCreateDateComparator cannot be resolved to a type messages = ListUtil.sort(messages, new MessageCreateDateComparator(true)); ^------------------------^ view_comments.jsp:35:3: MBMessage cannot be resolved to a type MBMessage message = (MBMessage)messages.get(i); ^------^ view_comments.jsp:35:24: MBMessage cannot be resolved to a type MBMessage message = (MBMessage)messages.get(i); ^------^ view_comments.jsp:37:22: StringPool cannot be resolved String className = StringPool.BLANK; ^-------^ view_comments.jsp:46:31: HtmlUtil cannot be resolved <span class="message"><%= HtmlUtil.escape(message.getBody()) %></span> ^-----^ view_comments.jsp:52:5: User cannot be resolved to a type User messageUser = UserLocalServiceUtil.getUser(message.getUserId()); ^-^ view_comments.jsp:52:24: UserLocalServiceUtil cannot be resolved User messageUser = UserLocalServiceUtil.getUser(message.getUserId()); ^-----------------^ view_comments.jsp:56:24: Validator cannot be resolved <c:when test="<%= Validator.isNotNull(messageUser.getDisplayURL(themeDisplay)) %>"> ^------^ view_comments.jsp:56:70: themeDisplay cannot be resolved <c:when test="<%= Validator.isNotNull(messageUser.getDisplayURL(themeDisplay)) %>"> ^---------^ view_comments.jsp:57:70: themeDisplay cannot be resolved <span class="user-name"><a href="<%= messageUser.getDisplayURL(themeDisplay) %>"><%= HtmlUtil.escape(message.getUserName()) %></a></span> ^---------^ view_comments.jsp:57:92: HtmlUtil cannot be resolved <span class="user-name"><a href="<%= messageUser.getDisplayURL(themeDisplay) %>"><%= HtmlUtil.escape(message.getUserName()) %></a></span> ^-----^ view_comments.jsp:60:35: HtmlUtil cannot be resolved <span class="user-name"><%= HtmlUtil.escape(message.getUserName()) %></span> ^-----^ view_comments.jsp:64:33: dateFormatDateTime cannot be resolved <span class="post-date"><%= dateFormatDateTime.format(message.getModifiedDate()) %></span> ^---------------^ view_comments.jsp:66:21: DateUtil cannot be resolved <c:if test="<%= DateUtil.compareTo(message.getCreateDate(), message.getModifiedDate()) != 0 %>"> ^-----^ view_comments.jsp:70:44: user cannot be resolved <c:if test="<%= message.getUserId() == user.getUserId() %>"> ^-^ view_comments.jsp:85:70: HtmlUtil cannot be resolved <input name="<portlet:namespace />redirect" type="hidden" value="<%= HtmlUtil.escape(currentURL) %>" /> ^-----^ view_comments.jsp:85:86: currentURL cannot be resolved <input name="<portlet:namespace />redirect" type="hidden" value="<%= HtmlUtil.escape(currentURL) %>" /> ^-------^ view_comments.jsp:86:39: Constants cannot be resolved <input name="<portlet:namespace /><%= Constants.CMD %>" type="hidden" value="" /> ^------^ view_comments.jsp:87:71: TasksEntry cannot be resolved to a type <input name="<portlet:namespace />className" type="hidden" value="<%= TasksEntry.class.getName() %>" /> ^-------^ view_comments.jsp:88:69: tasksEntry cannot be resolved <input name="<portlet:namespace />classPK" type="hidden" value="<%= tasksEntry.getTasksEntryId() %>" /> ^-------^ view_comments.jsp:113:62: Constants cannot be resolved document.<portlet:namespace />fm2.<portlet:namespace /><%= Constants.CMD %>.value = "<%= Constants.DELETE %>"; ^------^ view_comments.jsp:113:92: Constants cannot be resolved document.<portlet:namespace />fm2.<portlet:namespace /><%= Constants.CMD %>.value = "<%= Constants.DELETE %>"; ^------^ view_comments.jsp:135:62: Constants cannot be resolved document.<portlet:namespace />fm2.<portlet:namespace /><%= Constants.CMD %>.value = "<%= Constants.ADD %>"; ^------^ view_comments.jsp:135:92: Constants cannot be resolved document.<portlet:namespace />fm2.<portlet:namespace /><%= Constants.CMD %>.value = "<%= Constants.ADD %>"; ^------^
Steps to reproduce:
- Start Weblogic 10.3.6
- Deploy task-portlet
You will notice that there are exceptions in the console (See above)
Expected result:
No console exceptions when deploying.
Actual result:
Exceptions when deploying tasks-portlet.
- is related to
-
LPS-39039 tasks-portlet is using a fragment with extension jsp
- Closed