Re: RT 4.4.0rc3 - Error when listing assets

Dominic Hargreaves <[email protected]> Wed, 20 Jan 2016 12:52:59 +0000
Newsgroups gmane.comp.bug-tracking.request-tracker.devel
Message-ID <[email protected]>
On Wed, Jan 20, 2016 at 01:29:28PM +0100, Kádár Attila wrote:
> I had an RT 4.2.12 on Debian testing 'stretch'. I made the database upgrade
> from 4.2.12 to 4.4.0rc3. I got no errors. The system is 'up and running' so
> far, but then I got this error.
> 
> error: Can't call method "Valid" on an undefined value at
> /usr/local/share/request-tracker4/html/Asset/Elements/SelectStatus line 66.

[...]

> From rt/Admin/Tools/Configuration.html file, it looks OK for me.
> 
> Upgrade from 4.2.12 to 4.4.0rc3 	2016-01-18 14:10:43 	5 seconds 	4.4.0rc3
> 	Upgrade from 4.2.12 to 4.3.0 	2016-01-18 14:10:43 	1 second 	4.4.0rc3
> 	Insert from /usr/share/request-tracker4/etc/upgrade/4.3.0/content

From this, it looks like you overwrote the Debian packaged version
of RT with 4.4 by hand, since there is no Debian package of RT 4.4 yet
(unless one was created outside Debian that I don't know about). There
are also some unexplained local files (in /usr/local).

This approach is very unlikely to work smoothly. If you want to run RT
4.4 before those packages are available, you will need to install
manually into a separate directory (eg /opt/rt4.4).

Dominic.