Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-40156

Calendar portlet fails to compile - addTrashEntry method error

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE RC2
    • Fix Version/s: 6.2.0 CE RC1
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      Windows 7. Tomcat 7.0 + MySQL 5.5. Firefox 3.5.6. Portal master GIT ID: 8541e370e3e079f8d749ceab3dc528000fba4f85.
      Plugins master GIT ID: b8e28c715b01dc9bf846c7f507a43915f6c519f9.
    • Fix Priority:
      5

      Description

      Calendar portlet fails to compile in plugins master

      Expected results: Calendar portlet will compile successfully with no errors.

      Actual results: Console throws following error when compiling

      D:\portal\plugins\portlets>cd calendar-portlet
      
      D:\portal\plugins\portlets\calendar-portlet>ant clean war
      Buildfile: D:\portal\plugins\portlets\calendar-portlet\build.xml
      
      clean:
         [delete] Deleting directory D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\classes
      
      clean-portal-dependencies:
      
      compile:
      
      merge:
      
      compile-import-shared:
      
      compile:
      
      compile-import-shared:
      
      compile-java:
      
      jar:
          [mkdir] Created dir: D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\classes
           [copy] Copying 8 files to D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\lib
           [copy] Copying 1 file to D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\tld
           [copy] Copying 5 files to D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\lib
      
      compile-java:
           [copy] Copying 84 files to D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\classes
           [copy] Copied 32 empty directories to 19 empty directories under D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\classes
          [javac] Compiling 97 source files to D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\classes
          [javac] ----------
          [javac] 1. ERROR in D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\src\com\liferay\calendar\service\impl\CalendarBookingLocalServiceImpl.java (at line 929)
          [javac]     trashEntryLocalService.addTrashEntry(
          [javac]                            ^^^^^^^^^^^^^
          [javac] The method addTrashEntry(TrashEntry) in the type TrashEntryLocalService is not applicable for the arguments (long, long, String, long, int, null, null)
          [javac] ----------
          [javac] 2. ERROR in D:\portal\plugins\portlets\calendar-portlet\docroot\WEB-INF\src\com\liferay\calendar\service\impl\CalendarBookingLocalServiceImpl.java (at line 936)
          [javac]     trashEntryLocalService.addTrashEntry(
          [javac]                            ^^^^^^^^^^^^^
          [javac] The method addTrashEntry(TrashEntry) in the type TrashEntryLocalService is not applicable for the arguments (long, long, String, long, int, null, null)
          [javac] ----------
          [javac] 2 problems (2 errors)
      
      BUILD FAILED
      D:\portal\plugins\build-common-plugin.xml:675: The following error occurred while executing this line:
      D:\portal\plugins\build-common.xml:121: Compile failed; see the compiler error output for details.
      
      Total time: 6 seconds
      
      D:\portal\plugins\portlets\calendar-portlet>git log -n 1
      commit b8e28c715b01dc9bf846c7f507a43915f6c519f9
      Author: Peter Shin <peter.shin@liferay.com>
      Date:   Tue Sep 10 17:14:23 2013 -0500
      
          LPS-39811 Same logic (the path used by resourcecontains isn't consistent)
      
      D:\portal\plugins\portlets\calendar-portlet>
      

        Attachments

          Activity

            People

            • Assignee:
              sharon.choi Sharon Choi
              Reporter:
              sharon.choi Sharon Choi
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 5 weeks, 5 days ago

                Packages

                Version Package
                6.2.0 CE RC1