[rt-users] Abusing RT::Attachment::SetContent doesn't work
Timothy Smith
tsmith at loc.gov
Mon Aug 21 14:13:19 EDT 2006
I'm trying to permit users to modify the message content of an existing transaction.
$Transaction->Message->First->SetContent(...) returns (0, 'Immutable field'). Variations on the theme, like $Transaction->ContentObj->SetContent(...) do the same.
I don't understand why. It's of type $RT::Attachment, and Attachment.pm says
Content =>
{read => 1, write => 1, sql_type => -4, length => 0, is_blob => 1, is_numeric => 0, type => 'longtext', default => ''}
in &_CoreAccessible so it looks like I should be able to change it. It's not MySQL weirdness because I can manually update the contents and watch it show up on Display.html. What should I be doing? I'm using RT 3.6.1.
Thanks,
Tim Smith
More information about the rt-users
mailing list