Greetings,
I'm not sure why this is happening but I just installed Glossify, adjusted the settings and noticed that, in all nodes, the body content disappeared. The titles of the nodes are visible. When I disabled Glossify the body content in all nodes appeared again.
If anyone can lend any insight into this I would appreciate it.
Thanks,
Scott
Comments
Comment #1
rsvelko commentedI checked the logs of drupal and there glossify complained about preg_replace and preg_match php errors.
After some research found out that glossify terms (used as part of the pattern in several places there) are not run through preg_quote so that solves the problem I am pretty sure...
Will test it tommorrow and write back.
Comment #2
rsvelko commentedYes - the tests showed that all is fine after the quoting.
Once again - the problem was that some of the term nodes had weird titles (with "/" or $ , # ...) that caused preg_match function to think that the pattern ends prematurely... and as a consequence the $node->body was left empty ...
I give the diff now:
Comment #3
eafarris commentedA no-brainer. Committed to glossify-6.x-1.x-dev. Will be part of the next official release. Thanks very much.
Comment #4
scott859 commentedGreetings rsvelko and eafarris,
Thanks so much for your insight and help into this!
Very much appreciated.
Scott
Comment #6
mcurry commentedsubscribe
This is a problem in 5.x as well.
Comment #7
eeyorrThis is also a problem with 5.x.
Comment #8
Ivo.Radulovski commentedwe need a co-maintainer for version 5.x - we don't support it anymore