Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-2828

Exception when exporting as PDF a program which contains text alignment in a rich text field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1, 3.2
    • Fix Version/s: 3.1.2, 3.2.1
    • Component/s: None
    • Labels:
      None

      Description

      Exception when exporting as PDF a content which contains text alignment in a rich text field. Here, a justified paragraph is guilty.

      org.apache.cocoon.ProcessingException: Failed to process pipeline
      	at <map:serialize type="fo2pdf"> - resource://org/ametys/plugins/odf/sitemap.xmap:750:51
      	at <map:transform type="i18n"> - resource://org/ametys/plugins/odf/sitemap.xmap:746:48
      	at <map:transform type="docbook-enhancement"> - resource://org/ametys/plugins/odf/sitemap.xmap:745:64
      	at <map:transform> - resource://org/ametys/plugins/odf/sitemap.xmap:733:110
      	at <map:transform type="i18n"> - resource://org/ametys/plugins/odf/sitemap.xmap:729:48
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:140:82
      	at <map:mount> - resource://org/ametys/cms/workspace/sitemap.xmap:170:81
      	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
          [...]
      Caused by: org.apache.fop.fo.ValidationException: Error(Unknown location): fo:block, Invalid property name 'style'.
      	at org.apache.fop.fo.FONode.attributeError(FONode.java:354)
      	at org.apache.fop.fo.PropertyList.handleInvalidProperty(PropertyList.java:476)
          [...]
      

        Attachments

          Activity

            People

            • Assignee:
              ngavalda Nicolas Gavalda (Inactive)
              Reporter:
              ngavalda Nicolas Gavalda (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: