CLI command 'rt' prints wrong version

Hi,

Using version 5.0.2 of request tracker, the ‘rt’ cli command prints unexpected version string:
# /opt/rt5/bin/rt version
rt 0.02

I would expect it to print the current RT version, i.e. ‘rt 5.0.2’.
'grep’ing for version shows the following:
# grep -rnE "[$]VERSION = " /opt/rt5/
/opt/rt5/lib/RT/Generated.pm.in:53:our $VERSION = ‘RT_VERSION_MAJOR.RT_VERSION_MINOR.RT_VERSION_PATCH’;
/opt/rt5/lib/RT/Generated.pm:53:our $VERSION = ‘5.0.2’;
/opt/rt5/bin/rt:77:my $VERSION = 0.02;

Is this a bug?

Regards,
Martin

1 Like