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

Incorrect column reference messageFlag.messageId

    Details

      Description

      In file http://svn.liferay.com/browse/~br=trunk/portal/trunk/portal-impl/src/com/liferay/portal/upgrade/v6_1_0/UpgradeMessageBoards.java?r=87507 line 114 there is column name with table name prefix :
      long messageId = rs.getLong("messageFlag.messageId");
      the same on line 223:
      long threadId = rs.getLong("messageFlag.threadId");

      it throws exception org.postgresql.util.PSQLException: The column name messageFlag.threadId was not found in this ResultSet.

      Solution : remove "messageFlag." from column name.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              ra100 Rasto Rehak
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 19 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2