Re: RT 4.2.11rc1 released
sunnavy <[email protected]> Mon, 27 Apr 2015 23:43:50 +0800
| Newsgroups | gmane.comp.bug-tracking.request-tracker.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Christian I created 4.2/zero-attachments-in-forward-txns to fix this, which will be included in the future release. Thanks for reporting this. Regards sunnavy > On Apr 24, 2015, at 18:21, Christian Loos <[email protected]> wrote: > > 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