
Hello all, I have a question about ITSM. I am not sure, and have found no documentation, about how to define the configuration options. I have installed the software properly. Platform openSuSE 10.2 OTRS 2.2.0 beta2 OTRS::ITSM 1.0 beta2 I receive the following message when trying to add a new config item ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Tue Apr 24 08:27:33 2007 Message: No Definition was definied for class Hardware! Traceback (27518): Module: Kernel::Output::HTML::Layout::Error (v1.45) Line: 1132 Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.45) Line: 1112 Module: Kernel::Modules::AgentITSMConfigItemEdit::Run (v1.27) Line: 94 Module: Kernel::System::Web::InterfaceAgent::Run (v1.22) Line: 670 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 47 Module: (eval) (v1.81) Line: 203 Module: ModPerl::RegistryCooker::run (v1.81) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.81) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30 On hand the error message, I went to the admin panel and tried to add a description - This description is obviously not a plain text description as I was informed that the description was incorrect. I looked in the admin log to see what went wrong and found: Invalid Definition! You have an syntax error in the definition. Can you help me to realize what I did not R in TFM? Thanks, Shawn

Hi Shawn,
Yeah I also pitty that the doc is not available yet of this cool niffty
new feature ... anybody out there who can provid it (even beta) ??
Considering your issue
I had an installation on:
Ubuntu 6.10
OTRS 2.2.0. beta 2 (virgin installation)
OTRS::ITSM 1.0. beta2
and I'm not having the problem you describe.
Have you installed all (7) the opm files from the ITSM tar ball?
if you want to add the definition manually do this:
admin area -> ConfigItem -> Hardware -> change
and then add this text : copy paste everting between [ ] together with the
[ ].
[
{
Key => 'Description',
Name => 'Description',
Searchable => 1,
Input => {
Type => 'TextArea',
},
},
{
Key => 'Type',
Name => 'Type',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Hardware::Type',
},
},
{
Key => 'Owner',
Name => 'Owner',
Searchable => 1,
Input => {
Type => 'Customer',
},
},
{
Key => 'Provicer',
Name => 'Provider',
Searchable => 1,
Input => {
Type => 'Customer',
},
},
{
Key => 'AssetTag',
Name => 'Asset Tag',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
Required => 1,
},
CountMin => 0,
CountMax => 1,
CountDefault => 0,
},
{
Key => 'SerialNumber',
Name => 'Serial Number',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'Model',
Name => 'Model',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
},
},
{
Key => 'WarrantyExpirationDate',
Name => 'Warranty Expiration Date',
Searchable => 1,
Input => {
Type => 'Date',
},
},
{
Key => 'InstallDate',
Name => 'Install Date',
Searchable => 1,
Input => {
Type => 'Date',
Required => 1,
},
CountMin => 0,
CountMax => 1,
CountDefault => 0,
},
{
Key => 'Notes',
Name => 'Notes',
Searchable => 1,
Input => {
Type => 'TextArea',
Required => 1,
},
CountMin => 0,
CountMax => 1,
CountDefault => 0,
},
];
hth
-p.
Shawn Beasley

Paul Rhein schrieb:
Hi Shawn,
Yeah I also pitty that the doc is not available yet of this cool niffty new feature ... anybody out there who can provid it (even beta) ??
Considering your issue
I had an installation on:
Ubuntu 6.10 OTRS 2.2.0. beta 2 (virgin installation) OTRS::ITSM 1.0. beta2
and I'm not having the problem you describe. Have you installed all (7) the opm files from the ITSM tar ball?
if you want to add the definition manually do this: admin area -> ConfigItem -> Hardware -> change and then add this text : copy paste everting between [ ] together with the [ ].
[ { Key => 'Description', Name => 'Description', Searchable => 1, Input => { Type => 'TextArea', }, }, { Key => 'Type', Name => 'Type', Searchable => 1, Input => { Type => 'GeneralCatalog', Class => 'ITSM::ConfigItem::Hardware::Type', }, }, { Key => 'Owner', Name => 'Owner', Searchable => 1, Input => { Type => 'Customer', }, }, { Key => 'Provicer', Name => 'Provider', Searchable => 1, Input => { Type => 'Customer', }, },
{ Key => 'AssetTag', Name => 'Asset Tag', Searchable => 1, Input => { Type => 'Text', Size => 50, MaxLength => 50, Required => 1, }, CountMin => 0, CountMax => 1, CountDefault => 0, }, { Key => 'SerialNumber', Name => 'Serial Number', Searchable => 1, Input => { Type => 'Text', Size => 50, MaxLength => 100, }, }, { Key => 'Model', Name => 'Model', Searchable => 1, Input => { Type => 'Text', Size => 50, MaxLength => 50, }, }, { Key => 'WarrantyExpirationDate', Name => 'Warranty Expiration Date', Searchable => 1, Input => { Type => 'Date', }, }, { Key => 'InstallDate', Name => 'Install Date', Searchable => 1, Input => { Type => 'Date', Required => 1, }, CountMin => 0, CountMax => 1, CountDefault => 0, }, { Key => 'Notes', Name => 'Notes', Searchable => 1, Input => { Type => 'TextArea', Required => 1, }, CountMin => 0, CountMax => 1, CountDefault => 0, }, ];
hth
-p.
Hey Paul, Thanks for the format. I will try to reinstall the .opm. I did have problems because I attempted to install the packages per web interface. At some point (I do not remember when) The system crashed. I think that - after reading a little further - that this has caused my problems. As it looks, everyone has installed the packages per script. Thanks, and I will let you known.
Shawn Beasley
Sent by: dev-bounces@otrs.org 24/04/2007 08:34 Please respond to "Development community of OTRS.org" To dev@otrs.org cc
Subject [dev] ITSM item config
Hello all,
I have a question about ITSM. I am not sure, and have found no documentation, about how to define the configuration options. I have installed the software properly.
Platform openSuSE 10.2 OTRS 2.2.0 beta2 OTRS::ITSM 1.0 beta2
I receive the following message when trying to add a new config item
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Tue Apr 24 08:27:33 2007
Message: No Definition was definied for class Hardware!
Traceback (27518): Module: Kernel::Output::HTML::Layout::Error (v1.45) Line: 1132 Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.45) Line: 1112 Module: Kernel::Modules::AgentITSMConfigItemEdit::Run (v1.27) Line: 94 Module: Kernel::System::Web::InterfaceAgent::Run (v1.22) Line: 670 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 47 Module: (eval) (v1.81) Line: 203 Module: ModPerl::RegistryCooker::run (v1.81) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.81) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30
On hand the error message, I went to the admin panel and tried to add a description - This description is obviously not a plain text description as I was informed that the description was incorrect. I looked in the admin log to see what went wrong and found:
Invalid Definition! You have an syntax error in the definition.
Can you help me to realize what I did not R in TFM?
Thanks,
Shawn
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
participants (2)
-
Paul Rhein
-
Shawn Beasley