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

CalEventPersistenceImpl.java queries non-existent calEvent.type column instead of calEvent.type_

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.1 CE GA2, 6.2.0 CE M3, 6.2.0 CE M4
    • Fix Version/s: None
    • Component/s: Calendar
    • Environment:
      Liferay 6.1.1 GA2
      Ubuntu 10.04
      Postgres 9 DB
    • Fix Priority:
      3

      Description

      Various SQL fragments refer to non-existant column type in CalEvent table.

      See following file and search for "calEvent.type ":
      ./portal-impl/src/com/liferay/portlet/calendar/service/persistence/CalEventPersistenceImpl.java

      As can be see in the portal-tables.sql file, the CalEvent table has a column named "type_", not a column named "type".

      Attached see error.log for this error in action when calling CalEventServiceUtil.getEvents(). Although I never ran into this issue during Liferay OOB behavior, it did come up while implementing multi-filter functionality. In any case, there should be no hard-coded reference to a non-existent column anyway, correct?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 22 weeks, 1 day ago

                Packages

                Version Package