Closed (fixed)
Project:
User Relationships
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2007 at 19:42 UTC
Updated:
23 Dec 2007 at 10:13 UTC
From within /admin/user/relationships/settings, I modified one option (not related to email) and then pressed Submit, to be presented with these errors:
* Cancel relationship email subject cannot be longer than 128 characters but is currently 323 characters long.
* Approve relationship email subject cannot be longer than 128 characters but is currently 395 characters long.
* Disapprove relationship email subject cannot be longer than 128 characters but is currently 342 characters long.
* Remove relationship email subject cannot be longer than 128 characters but is currently 329 characters long.
These are all default values from the install in these fields..
Comments
Comment #1
Coyote commentedTo fix this, I went into the file user_relationship_mailer.module and at around line 147, changed this
to this:
Although those default subject lines are pretty long... does anyone know if there's a limit on how long an e-mail subject line can be? Even if it's fairly high, it would be better for those default subjects to be more succinct.
Comment #2
sprsquish commentedThis was actually a programming error. I was grabbing the body text and putting it in the subject field.
Comment #3
sprsquish commented