We are migrating from RT to OTRS. Trying and testing our OTRS
installation, I think that I found a bug on the ITSM's CMDB module.
I've changed the Config Item Class Computer, to provide some custom
fields. Even setting Searchable => 1 on the class definition, when I try
to search on my custom attributes, I always got "No data found".
I've tried making a new installation, with brand new OTRS (3.0.11) and
ITSM (3.0.5). In this new installation no alterations on Class
Definition was made. Unfortunately, searching on CMDB at Class Computer
for items where Vendor = IBM returns "No data found".
Looking at OTRS log I found this SQL error:
Code: Select all
[Fri Dec 30 16:01:45 2011][Error][Kernel::System::ITSMConfigItem::Version::VersionSearch][966] ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 1: ...d IN (32) AND ci.last_version_id = vr.id ORDER BY ci.configi...
^, SQL: 'SELECT DISTINCT(vr.configitem_id) FROM configitem ci, configitem_version vr WHERE ci.id = vr.configitem_id AND ci.class_id IN (32) AND ci.last_version_id = vr.id ORDER BY ci.configitem_number DESC '
this bug?
Tks in adv.
Alberto