Details

    • Type: Regression Bug Regression Bug
    • Status: Closed
    • Priority: Minor Minor
    • 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
    • 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
    • Similar Issues:
      Show 4 results 

      Description

      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:

      1. Start Weblogic 10.3.6
      2. 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.

      1. liferay.2013-09-12.log
        74 kB
        Matthew Kong
      2. tasks.txt
        10 kB
        Robert Srisam-ang

        Issue Links

          Activity

          Hide
          Robert Srisam-ang (Inactive) added a comment - - edited

          Reproducible through Manual Testing following the steps in the description.

          Reproduced on::
          Weblogic 10.3.6 + MySQL 5. Portal 6.1.x EE GIT ID: daeb33fa1b015eb410278d7d7721a14b32747e17.
          Plugins 6.1.x EE GIT ID: f39c1303895ba18f04ed83a479fc1c6e8c2ea978.

          Task-portlet deploy exceptions still occur. Reopening ticket.

          Show
          Robert Srisam-ang (Inactive) added a comment - - edited Reproducible through Manual Testing following the steps in the description. Reproduced on:: Weblogic 10.3.6 + MySQL 5. Portal 6.1.x EE GIT ID: daeb33fa1b015eb410278d7d7721a14b32747e17. Plugins 6.1.x EE GIT ID: f39c1303895ba18f04ed83a479fc1c6e8c2ea978. Task-portlet deploy exceptions still occur. Reopening ticket.
          Hide
          mandy.zia added a comment -

          Moved from LPS to SOS. Previously, the affects version was 6.1.30 EE GA3.

          Show
          mandy.zia added a comment - Moved from LPS to SOS. Previously, the affects version was 6.1.30 EE GA3.
          Hide
          Robert Srisam-ang (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Weblogic 10.3.6 + MySQL 5. Portal 6.1.x EE GIT ID: fdd40ecb392ba5d1458f6242e65117bdf021b4d7.
          Plugins 6.1.x EE GIT ID: d11f271e915748fe29f458004b2d35710537adf3.

          Task-portlet deploys without exceptions.

          Show
          Robert Srisam-ang (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Weblogic 10.3.6 + MySQL 5. Portal 6.1.x EE GIT ID: fdd40ecb392ba5d1458f6242e65117bdf021b4d7. Plugins 6.1.x EE GIT ID: d11f271e915748fe29f458004b2d35710537adf3. Task-portlet deploys without exceptions.

            People

            • Assignee:
              Robert Srisam-ang (Inactive)
              Reporter:
              Robert Srisam-ang (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:
                Days since last comment:
                1 year, 27 weeks, 6 days ago

                Development

                  Structure Helper Panel