Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-2594

Transform document (from word to PDF or OpenOffice) doe snot work

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Not a bug
    • Affects Version/s: None
    • Fix Version/s: 3.3 Enterprise
    • Component/s: ZZ_Archive
    • Security Level: external (External user)
    • Labels:
      None

      Description

      Transformation from MS Word document to PDF or OpenOffice document return error.
      To reproduce, create content and upload MS Word document. open Details page and select Run Action.
      Select "Transform and copy specific content to specified space" and select to convert to PDF or OpenOffice.
      I am getting errors below. Tested with OpenOffice 3.0, 2.0 and Word 2007, word 2003.

      Error:

      Please correct the errors below then click Finish.

      • Failed to run Actions due to error: Content conversion failed: reader: ContentAccessor[ contentUrl=store://2008/12/15/16/50/1decbd11-1451-4d6e-b448-50fcd077ffad.bin, mimetype=application/msword, size=91648, encoding=UTF-8, locale=en_US] writer: ContentAccessor[ contentUrl=store://2008/12/15/17/6/7441726f-72ed-4e1f-8d09-f9b3705f31f2.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US] options: org.alfresco.service.cmr.repository.TransformationOptions@629cf0

      Eugene

        Attachments

        1. avalon-framework-4.2.0.jar
          80 kB
        2. batik-all-1.7.jar
          3.16 MB
        3. fop-095ad.jar
          2.22 MB
        4. test.docx
          10 kB
        5. test97.doc
          22 kB
        6. xmlgraphics-commons-1.3.1.jar
          505 kB

          Issue Links

            Activity

            Hide
            nmcerlean Neil McErlean [X] (Inactive) added a comment -

            The issue with Japanese fonts will be handled as part of ALF-2453.
            I will add a link back to this issue so that the various attachments here are available there.

            Show
            nmcerlean Neil McErlean [X] (Inactive) added a comment - The issue with Japanese fonts will be handled as part of ALF-2453 . I will add a link back to this issue so that the various attachments here are available there.
            Hide
            jbondc Jonathan Bond-Caron (Inactive) added a comment -

            Installing OO 3.2 has fixed the problem.

            http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_LinuxIntel_install_en-US.tar.gz

            My bad, OStorageHelper.getStorageFromInputStream is c++ within OOo.

            If there's no workaround, it probably should be documented that open office 3.2 is required for conversion of office 2007+ documents?

            Show
            jbondc Jonathan Bond-Caron (Inactive) added a comment - Installing OO 3.2 has fixed the problem. http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_LinuxIntel_install_en-US.tar.gz My bad, OStorageHelper.getStorageFromInputStream is c++ within OOo. If there's no workaround, it probably should be documented that open office 3.2 is required for conversion of office 2007+ documents?
            Hide
            nmcerlean Neil McErlean [X] (Inactive) added a comment - - edited

            I'm resolving this as 'Not a bug'.

            It seems this is an OpenOffice issue and I don't see a workaround in Alfresco. Yes, it should be documented that OOo 3.2+ is required for the successful transformation of Office 07 content.
            See http://wiki.alfresco.com/wiki/Setting_up_OpenOffice_for_Alfresco#Installing_OpenOffice

            Thanks for your help everyone. I understand that there is an issue in the handling of Japanese fonts and that will be addressed under another task.

            Show
            nmcerlean Neil McErlean [X] (Inactive) added a comment - - edited I'm resolving this as 'Not a bug'. It seems this is an OpenOffice issue and I don't see a workaround in Alfresco. Yes, it should be documented that OOo 3.2+ is required for the successful transformation of Office 07 content. See http://wiki.alfresco.com/wiki/Setting_up_OpenOffice_for_Alfresco#Installing_OpenOffice Thanks for your help everyone. I understand that there is an issue in the handling of Japanese fonts and that will be addressed under another task.
            Hide
            srigby Steve Rigby added a comment -

            For retest in b48

            Show
            srigby Steve Rigby added a comment - For retest in b48
            Hide
            alfrescoqa Alfresco QA Team added a comment -

            Successfully validated in Alfresco 3.3 EE b 55 using Windows 2008 x64, Jboss 5.1.0, Oracle 10g, JDK 6u20 x64, OpenOffice 3.2.0 from the installer

            Show
            alfrescoqa Alfresco QA Team added a comment - Successfully validated in Alfresco 3.3 EE b 55 using Windows 2008 x64, Jboss 5.1.0, Oracle 10g, JDK 6u20 x64, OpenOffice 3.2.0 from the installer

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                karye01 Yevgeniy Karapetyants
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: