Missing adjustHeadingsFromAggregatedHTML transform

Issue #1 resolved
Jonas Baumann created an issue

When I try to export a Folder (with the import fix of pull request #1 installed), a non-existing transform adjustHeadingsFromAggregatedHTML is used in folder_nested.py.

Traceback:

Traceback (innermost last):
  Module ZPublisher.Publish, line 60, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module pp.client.plone.browser.pdf, line 207, in __call__
  Module pp.client.plone.browser.pdf, line 103, in __call__
  Module pp.client.plone.browser.pdf, line 144, in __call2__
  Module pp.client.plone.browser.types.folder, line 41, in __call__
  Module pp.client.plone.browser.types.folder_nested, line 90, in __call__
  Module pp.core.transformation, line 57, in __call__
ValueError: No transformation "adjustHeadingsFromAggregatedHTML" registered

Is there somewhere such a transform and I did just miss to install the right thing? Or should be implemented / the transform be removed?

Comments (4)

  1. Jonas Baumann reporter

    This happens only when trying to create a PDF of a folder which contains another folder. In this case the NestedHTMLView is used, otherwise the FlatHTMLView.

  2. Log in to comment