[rt-devel] RT 4.4.0rc3 - Error when listing assets

Dominic Hargreaves dom at earth.li
Wed Jan 20 09:43:22 EST 2016


Please don't reply off-list.

On Wed, Jan 20, 2016 at 02:36:39PM +0100, Kádár Attila wrote:
> 
> 
> 2016-01-20 13:52 keltezéssel, Dominic Hargreaves írta:
> >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.
> Yes, you are right about that.
> 
> >There
> >are also some unexplained local files (in /usr/local).
> You see /usr/local/share/request-tracker4/html/Asset/Elements/SelectStatus
> because I made my modifications in that file instead of the original
> /usr/share/request-tracker4/html/Asset/Elements/SelectStatus
> This is to preserve the original content in case I want to revert to it.
> 
> >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).
> 
> Depending on what causes the error you may right. If the error is caused by
> a wrong/not updated file then it is my fault.

You've just said that you overwrote the Debian files with others.
This is just wrong, even if you managed to make it (mostly) work.
It's just not something that anyone can reasonably provide support on.

> If there is something that the database upgrade scripts didn't do right then
> the location of the files are irrelevant.

This does not alter what I said above.

Dominic.


More information about the rt-devel mailing list