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

ClassNotFoundException when translating Hibernate exception in ClpSerializer

    Details

    • Branch Version/s:
      6.2.x, 6.1.x
    • Backported to Branch:
      Committed

      Description

      Steps to reproduce:

      1. Update sample-service-builder-portlet to match Liferay version being tested. In master, this means replacing the call to GroupServiceUtil.getUserPlacesGroups() to getUserSitesGroups() and removing the version requirement in liferay-plugin-package.properties
      2. Create a new portlet sample-service-user-portlet which has sample-service-builder-portlet as a required deployment context and calls FooLocalServiceUtil.addFoo() with a foo where field1 is larger than 75 characters.
      3. Deploy sample-service-user-portlet and sample-service-builder-portlet

      Expectation is that you get a SystemException due to the column constraint restriction, and the stack trace indicates that it is caused by the data being too long. Actual behavior is that you get a RuntimeException caused by a ClassNotFoundException with no additional information.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                minhchau.dang Minhchau Dang
                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:
                  3 years, 46 weeks, 2 days ago