Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyphenator crashes Website when used for each content node #2

Open
diewegmeister-deploy opened this issue Jan 17, 2017 · 0 comments
Open
Assignees
Labels

Comments

@diewegmeister-deploy
Copy link

If one uses the fusion hyphenator implementation on every content node, the site crashes, because the hyphenator also changes caching attributes and other stuff.

Example:

prototype(TYPO3.Neos:Content) {
    @process.addHyphenation = Wegmeister.Hyphenator:Hyphenate
}

If this process is limited to Content nodes that do not have other ContentCollections in it, the hyphenation does not crash the page:

prototype(TYPO3.Neos:Content) {
    @process.wegmeisterHyphenator = Wegmeister.Hyphenator:Hyphenate
    @[email protected] = ${q(node).children('[instanceof TYPO3.Neos:ContentCollection]').count() == 0}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants