https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2011-05-03T19:31:56ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=28872011-05-03T19:31:56ZBoone Gorgesboone@gorg.es
<ul></ul><p>Can you give me a sense of how much was cut off and how much was sent?</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=28902011-05-03T22:50:22ZMatt Goldmattgold@gmail.com
<ul></ul><p>Original post: 1214 words, 6265 characters (no spaces), 7469 characters (with spaces)</p>
<p>Notfication: 1077 words, 5873 chars (w/o spaces), 6963 chars (w/spaces)</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=28972011-05-04T13:37:29ZBoone Gorgesboone@gorg.es
<ul></ul><p>Matt, I've tried to reproduce this on my local installation, but I can't. Messages of many thousands of words go through just fine. And I tried with George's very message, and it seemed to work fine as well. Can you tell me the point at which his original message was cut off (what word/sentence/phrase)?</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=28982011-05-04T13:42:47ZBoone Gorgesboone@gorg.es
<ul></ul><p>(It's possible, fwiw, that George originally posted a truncated version of the message, which prompted the truncated email notification, but then immediately fixed it on the website. That'd explain why I can't reproduce it, and why this problem has not risen before.)</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=29322011-05-05T04:50:53ZMatt Goldmattgold@gmail.com
<ul></ul><p>Do you want me to ask George about this? Maybe he did post a truncated version. But I can forward you the message I received if needed. I realize that it isn't "proof" you're after, but reproducibility . . . .</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=29332011-05-05T11:32:49ZBoone Gorgesboone@gorg.es
<ul></ul><p>Yes, please ask George.</p>
<p>And yes, please send me a copy. I'm not looking for proof, I'm just wondering whether there's a certain word pattern that might explain the truncation.</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=29342011-05-05T12:56:55ZMatt Goldmattgold@gmail.com
<ul></ul><p>I've asked George about this and forwarded the email.</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=29442011-05-06T14:10:28ZMatt Goldmattgold@gmail.com
<ul></ul><p>Here's George's response:</p>
<p>"I never noticed that. I didn't do anything unusual when I posted. The problem was with the post itself. I forgot to do close-quotation marks around the coding for the link. I went back in and edited that when I noticed the problem on the forum, but never registered the problem in the email post. "</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=29752011-05-11T15:31:30ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Rejected</i></li></ul><p>Thanks for forwarding the email. When George says he forgot some quotes on a link, I'm assuming he means the link to the TOS, which is the first word missing in the truncated message. That suggests that some invalid HTML had the effect of messing up the email filters. This is unsurprising. Links in posts to be emailed are handled by converting them to "text [url]", which is a custom filter that I wrote, and it would likely not know what to do with invalid HTML.</p>
<p>I can't really write the filter in such a way that it is able to account for all possible HTML syntax errors. And since we'll probably be reintroducing TinyMCE in forum textboxes in an upcoming release, it seems quite unlikely that this problem will arise with a frequency that should concern us.</p> CUNY Academic Commons - Bug #724: Word Limit on Email Notifications of Forum Posts?https://redmine.gc.cuny.edu/issues/724?journal_id=29802011-05-11T16:04:47ZMatt Goldmattgold@gmail.com
<ul></ul><p>Agreed. It's good to know that improper formatting probably caused this. I'll keep my eye out for future occurrences.</p>