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

Wrapped Blob not visible from classloader

    Details

      Description

      When we archive certain content (builds), we take all the relevant information related to the build, stringify, compress and encode it, and then store it into a table in database as a Blob field. When attempting to restore archived content, this data needs to be retrieved and restored to database. When we call the getter for the Blob field however, we hit the retrieve this data exception found in this stack trace stack trace.

      To replicate:

      • checkout latest portal-ee ee-6.2.x branch from master
      • checkout latest plugins-ee ee-6.2.x
      • Use the sql dump found here: database
      • start portal and deploy testray
      • login as [email protected]
      • Click into Liferay Portal 7.0
      • Click into CE Development (master)
      • at the far right of a row (which represents a build) click on the drop down and then archive
      • Click on the Archived tab in upper right
      • Again from the drop down, restore the build that you just archived
      • Should pop up an "unexpected error" on the page, and stack trace similar to the one above in the application server log.

      There is a current work around, copying the attached jar into the webapps/ROOT/WEB-INF/lib folder

      I can go into more detail about the code itself if necessary.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              preston.crary Preston Crary
              Reporter:
              william.newbury William Newbury
              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:
                5 years, 2 weeks, 1 day ago

                  Packages

                  Version Package