Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: sprsquish commentedThis was actually a programming error. I was grabbing the body text and putting it in the subject field.
Comment #3
sprsquish CreditAttribution: sprsquish commented