Re: RT 4.2.11rc1 released

Christian Loos <[email protected]> Fri, 24 Apr 2015 12:21:13 +0200
Newsgroups gmane.comp.bug-tracking.request-tracker.devel
Message-ID <[email protected]>
Hi,

the database upgrade step errors out with the following message:
ERROR: One of initial functions failed: Can't call method "Subject" on
an undefined value at ./etc/upgrade/4.2.11/content line 49, <$handle>
line 1.

The problem is a missing check if actually a attachment object was
loaded at [1].
A simple
next unless $att;
fixes this for me.

I have found some Forward transaction which don't have a attachment
object. It seams, without digging deeper into this, these transactions
where created with RT 4.0.


Chris

[1]
https://github.com/bestpractical/rt/blob/stable/etc/upgrade/4.2.11/content#L46