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

The locked icon is missing after editing the file name on documentum

    Details

      Description

      Steps to Reproduce on 7.1.x-private:

      1. Add Documentum repository to Portal.
      2. Access repository and add a basic file ('Document_1.xls' in this case), then checkout it
        • Assert that the locked icon is there.
      3. Edit the file name to Document_1_Edit.jpg, then click save.

      Expected result:
      The locked icon should be displayed.

      Actual result:
      The locked icon is missing, and the error occurs in console.

      05:37:52,836 WARN  [AMMessageListener:81] java.lang.ArrayIndexOutOfBoundsException: 538976255
      java.lang.ArrayIndexOutOfBoundsException: 538976255
              at com.twelvemonkeys.imageio.plugins.thumbsdb.Catalog.read(Catalog.java:91)
              at com.twelvemonkeys.imageio.plugins.thumbsdb.Catalog.read(Catalog.java:71)
              at com.twelvemonkeys.imageio.plugins.thumbsdb.ThumbsDBImageReader.initCatalog(ThumbsDBImageReader.java:296)
              at com.twelvemonkeys.imageio.plugins.thumbsdb.ThumbsDBImageReader.init(ThumbsDBImageReader.java:272)
              at com.twelvemonkeys.imageio.plugins.thumbsdb.ThumbsDBImageReader.read(ThumbsDBImageReader.java:133)
              at javax.imageio.ImageReader.read(ImageReader.java:939)
              at com.liferay.adaptive.media.image.internal.util.RenderedImageUtil.readImage(RenderedImageUtil.java:70)
              at com.liferay.adaptive.media.image.internal.processor.util.TiffOrientationTransformer.transform(TiffOrientationTransformer.java:54)
              at com.liferay.adaptive.media.image.internal.scaler.AMDefaultImageScaler.scaleImage(AMDefaultImageScaler.java:52)
              at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:123)
              at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.lambda$process$0(AMImageProcessorImpl.java:76)
              at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl$$Lambda$2753/1493175400.accept(Unknown Source)
              at java.util.ArrayList.forEach(ArrayList.java:1249)
              at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:75)
              at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:43)
              at com.liferay.adaptive.media.web.internal.messaging.AMProcessorCommand$2.execute(AMProcessorCommand.java:43)
              at com.liferay.adaptive.media.web.internal.messaging.AMMessageListener.doReceive(AMMessageListener.java:77)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
              at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
              at java.lang.Thread.run(Thread.java:745)
      

      Steps to Reproduce on master-private:

      1. Add Documentum repository to Portal.
      2. Access repository and add a basic file ('Document_1.xls' in this case), then checkout it
        • Assert that the locked icon is there.
      3. Edit the file name to Document_1_Edit.jpg, then click save.

      Expected result:
      After editing the name, it can be saved successfully. The locked icon should be displayed.

      Actual result:
      The unexpected message 'Internal Server Error' is displayed on page, and the errors occur in console.

      05-Nov-2018 06:07:43.559 严重 [http-nio-8080-exec-5] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [Main Servlet] threw exception
       java.lang.AbstractMethodError: com.liferay.documentum.repository.DocumentumRepository.updateFileEntry(JJLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/liferay/document/library/kernel/model/DLVersionNumberIncrease;Ljava/io/InputStream;JLcom/liferay/portal/kernel/service/ServiceContext;)Lcom/liferay/portal/kernel/repository/model/FileEntry;
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.sun.proxy.$Proxy810.updateFileEntry(Unknown Source)
      

        Attachments

        1. Document_1.xls
          23 kB
        2. Master.png
          Master.png
          31 kB
        3. Master log.txt
          77 kB

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.1.X
                  Master