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

Enterprise Calendar throws exceptions and does not save events when using HSQL

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Fix Priority:
      5

      Description

      I built the latest master branch of liferay-portal and liferay-plugins, started up portal, deployed the new Enterprise Calendar app, and it appears OK when I add it to a page on a given site.

      But when I add a new event, and refresh the page, the event does not get recorded in the UI and the attached stack trace appears.

      When I switch from HSQL to MySQL everything works fine, so I suspect some issue with the underlying finders for the Calendar entities associated with the new Calendar.

        Issue Links

          Activity

          Hide
          brian.chan Brian Chan added a comment -

          This actually involves a bug in SQLTransformer.

          Show
          brian.chan Brian Chan added a comment - This actually involves a bug in SQLTransformer.
          Hide
          ginson.ren Ginson Ren added a comment - - edited

          PASSED Manual Testing using the following steps:

          1. Start server with Hsql.
          2. Deploy Enterprise Calendar plugin.
          3. Add a new page.
          4. Add Enterprise Calendar portlet to the new page.
          5. Add a new event.
          6. Refresh the page.

          Reproduced on:
          Tomcat 7.0 + HSQL 2. Portal 6.2.x GIT ID: e3c8f1811d5da26593998fa3760baf3081e2a469.
          Plugins 6.2.x EE GIT ID: 2bbb9e3000fa3409b10ac09e046457d161fff405.

          The event does not get recorded in the UI and the error appears in the console.

          Fixed on:
          Tomcat 7.0 + HSQL 2. Portal 6.2.x GIT ID: e3c8f1811d5da26593998fa3760baf3081e2a469.
          Plugins 6.2.x EE GIT ID: 6716b67534eee1f4282a6348d4dd4641aa25581b.

          The event was saved correctly.

          Note: Enterprise Calendar is only support to 6.2.x.

          Show
          ginson.ren Ginson Ren added a comment - - edited PASSED Manual Testing using the following steps: 1. Start server with Hsql. 2. Deploy Enterprise Calendar plugin. 3. Add a new page. 4. Add Enterprise Calendar portlet to the new page. 5. Add a new event. 6. Refresh the page. Reproduced on: Tomcat 7.0 + HSQL 2. Portal 6.2.x GIT ID: e3c8f1811d5da26593998fa3760baf3081e2a469. Plugins 6.2.x EE GIT ID: 2bbb9e3000fa3409b10ac09e046457d161fff405. The event does not get recorded in the UI and the error appears in the console. Fixed on: Tomcat 7.0 + HSQL 2. Portal 6.2.x GIT ID: e3c8f1811d5da26593998fa3760baf3081e2a469. Plugins 6.2.x EE GIT ID: 6716b67534eee1f4282a6348d4dd4641aa25581b. The event was saved correctly. Note: Enterprise Calendar is only support to 6.2.x.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 43 weeks, 2 days ago

                Development

                  Subcomponents