heiglandreas/Org_Heigl_Hyphenator — Issue #7: add an upgrading guide for 2.0, missing validation of configuration
Author: lsmith77
Created: 2011-12-06 08:47:52+00:00
State: open

Trying to upgrade https://github.com/liip/LiipHyphenatorBundle is turning out to be surprisingly tricky.
I have been chasing one issue after another and now the latest issue seems to be:

An exception has been thrown during the rendering of a template ("Catchable Fatal Error: Argument 1 passed to Org\Heigl\Hyphenator\Hyphenator::getHyphenationPattern() must be an instance of Org\Heigl\Hyphenator\Tokenizer\TokenRegistry, string given, called in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php on line 343 and defined in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php line 359")

Guess something is lacking validation inside the lib which is causing it to break in the above place.