Hi All.

I have problem with editing configitem in OTRS ITSM ConfigItem v 3.2.5.
My definition (in attachments) look like this:

[image: Vložený obrázek 1]

Is it some bug?

Thaks in advance for answar

Jan

<<image.png>>

[
        {
                Key => 'PN',
                Name => 'Part number',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                        Required => 1,
                },
        },
        {
                Key => 'SN',
                Name => 'Sériové číslo',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                        Required => 1,
                },
        },
        {
                Key => 'IN',
                Name => 'Inventární číslo',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                },
        },
        {
                Key => 'VYROBCE',
                Name => 'Výrobce',
                Searchable => 1,
                Input => {
                        Type => 'GeneralCatalog',
                        Class => 'ITSM::ConfigItem::Vyrobce',
                        Translation => 1,
                        Required => 1,
                },
        },
        {
                Key => 'OBLAST',
                Name => 'Oblast',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 50,
                        MaxLength => 50,
                        Required => 1,
                },
        },
        {
                Key => 'System_Admin',
                Name => 'Administrator',
                Searchable => 1,
                Input => {
                        Type => 'Customer',
                        Required => 1,
                },
        },
        {
                Key => 'Network_Name',
                Name => 'Síťový název',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 50,
                        MaxLength => 50,
                        Required => 1,
                },
        },
        {
                Key => 'IP_Address',
                Name => 'IP Adresa',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 40,
                        MaxLength => 40,
                        Required => 1,
                },
                CountMin => 1,
                CountMax => 20,
                CountDefault => 1,
        },
        {
                Key => 'OS',
                Name => 'Operační systém',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                        Required => 1,
                },
        },
        {
                Key => 'Software',
                Name => 'Software (Verze)',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 256,
                        MaxLength => 256,
                        Required => 1,
                },
        },
        {
                Key => 'Aplikace',
                Name => 'Aplikace (Verze)',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 256,
                        MaxLength => 256,
                        Required => 1,
                },
        },
        {
                Key => 'HDD_capacity',
                Name => 'Kapacita pevného disku',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 50,
                        MaxLength => 50,
                },
        },
        {
                Key => 'RAM',
                Name => 'Paměť - velikost (GB)',
                Searchable => 1,
                Input => {
                        Type => 'Integer',
                        ValueMin => 1,
                        ValueMax => 500,
                },
        },
        {
                Key => 'CPU',
                Name => 'Procesor - typ rychlost',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 50,
                        MaxLength => 50,
                        Required => 1,
                },
        },
        {
                Key => 'Pole',
                Name => 'Pole (Název)',
                Searchable => 1,
                Input => {
                        Type => 'GeneralCatalog',
                        Class => 'ITSM::ConfigItem::Servery::Pole',
                        Translation => 0,
                },
        },
        {
                Key => 'HBA',
                Name => 'HBA',
                CountMin => 0,
                CountDefault => 0,
                CountMax => 1,
                Input => {
                        Type => 'Integer',
                        ValueMin => 1,
                        ValueMax => 16,
                        Required => 1,
                },
        },
        {
                Key => 'NIC_METAL',
                Name => 'NIC metal',
                CountMin => 0,
                CountDefault => 0,
                CountMax => 1,
                Input => {
                        Type => 'Integer',
                        ValueMin => 1,
                        ValueMax => 16,
                        Required => 1,
                },
        },
        {
                Key => 'NIC_FC',
                Name => 'NIC FC',
                CountMin => 0,
                CountDefault => 0,
                CountMax => 1,
                Input => {
                        Type => 'Integer',
                        ValueMin => 1,
                        ValueMax => 16,
                        Required => 1,
                },
        },
        {
                Key => 'Location',
                Name => 'Umístění',
                Searchable => 1,
                Input => {
                        Type => 'GeneralCatalog',
                        Class => 'ITSM::ConfigItem::Location',
                        Translation => 1,
                        Required => 1,
                },
                CountMax => 1,
                Sub => [
                        {
                                Key => 'Budova',
                                Name => 'Budova',
                                Input => {
                                        Type => 'Text',
                                        Required => 1,
                                },
                        },
                        {
                                Key => 'Mistnost',
                                Name => 'Místnost',
                                Input => {
                                        Type => 'Text',
                                        Required => 1,
                                },
                        },
                        {
                                Key => 'RackNumber',
                                Name => 'Číslo racku',
                                Input => {
                                        Type => 'Text',
                                        Required => 1,
                                },
                        },
                        {
                                Key => 'RackPosition',
                                Name => 'Pozice v racku',
                                Input => {
                                        Type => 'Text',
                                        Required => 1,
                                },
                        },
                        {
                                Key => 'Vyska_v_jednotkach_U',
                                Name => 'Výška v jednotkách U',
                                Input => {
                                        Type => 'Integer',
                                        ValueMin => 1,
                                        ValueMax => 16,
                                        Required => 1,
                                },
                        },
                ],
        },
        {
                Key => 'Datum_porizeni',
                Name => 'Datum pořízení',
                Searchable => 1,
                CountMin => 0,
                CountDefault => 0,
                CountMax => 1,
                Input => {
                        Type => 'Date',
                        YearPeriodPast => 20,
                        YearPeriodFuture => 10,
                },
        },
        {
                Key => 'Datum_aktivace',
                Name => 'Datum Aktivace',
                Searchable => 1,
                CountMin => 0,
                CountDefault => 0,
                CountMax => 1,
                Input => {
                        Type => 'Date',
                        YearPeriodPast => 20,
                        YearPeriodFuture => 10,
                },
        },
        {
                Key => 'Datum_deaktivace',
                Name => 'Datum deaktivace',
                Searchable => 1,
                CountMin => 0,
                CountDefault => 0,
                CountMax => 1,
                Input => {
                        Type => 'Date',
                        YearPeriodPast => 20,
                        YearPeriodFuture => 10,
                },
        },
        {
                Key => 'Porizovaci_cena',
                Name => 'Pořizovací cena',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 50,
                        MaxLength => 50,
                },
        },
        {
                Key => 'Ucetni_hodnota',
                Name => 'Akt. účetní hodnota',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 50,
                        MaxLength => 50,
                },
        },
        {
                Key => 'Ukonceni_podpory',
                Name => 'Ukončení podpory',
                Searchable => 1,
                Input => {
                        Type => 'Date',
                        YearPeriodPast => 20,
                        YearPeriodFuture => 10,
                        Required => 1,
                },
        },
        {
                Key => 'Typ_zaruky',
                Name => 'Typ záruky',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                        Required => 1,
                },
        },
        {
                Key => 'Typ_podpory',
                Name => 'Typ podpory',
                Searchable => 1,
                Input => {
                Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                        Required => 1,
                },
        },
        {
                Key => 'Response_time',
                Name => 'Response time',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                },
        },
        {
                Key => 'Fix_time',
                Name => 'Fix time',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                },
        },
        {
                Key => 'Ponechani_disku',
                Name => 'Ponechání disku',
                Searchable => 1,
                Input => {
                        Type => 'GeneralCatalog',
                        Class => 'ITSM::ConfigItem::YesNo',
                        Translation => 1,
                },
        },
        {
                Key => 'Odkaz_dokumentace',
                Name => 'Odkaz na dokumentaci',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 256,
                        MaxLength => 256,
                        Required => 1,
                },
        },
        {
                Key => 'CisloSmlouvyPodpora',
                Name => 'Č. smlouvy na podporu',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                        Required => 1,
                },
        },
        {
                Key => 'DodavatelPodpory',
                Name => 'Dodavatel podpory',
                Searchable => 1,
                Input => {
                        Type => 'Text',
                        Size => 100,
                        MaxLength => 100,
                        Required => 1,
                },
        },
        {
                Key => 'KontaktPodpora',
                Name => 'Kontakt na dodavatele podpory',
                Input => {
                        Type => 'TextArea',
                        Required => 1,
                },
        },
        {
                Key => 'Poznamka',
                Name => 'Poznámka',
                Input => {
                        Type => 'TextArea',
                },
        },
];
_______________________________________________
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

Reply via email to