[SOLVED] IMPORT/EXPORT module template

Moderator: crythias

Locked
pmontesd
Znuny newbie
Posts: 21
Joined: 24 Nov 2013, 01:29
Znuny Version: 4.0.24
Real Name: Pablo Montesdeoca
Company: Inerza

[SOLVED] IMPORT/EXPORT module template

Post by pmontesd »

Hello:

During template creation for IMPORT/EXPORT there are two config items which seem confusing for me:
[*]Maximum number of one element: I have no idea what it is for. Definitely it's not the number of items to import.
[*]Empty fields indicate that the current values are kept: I can guess its meaning when checked. But when unchecked, I suppose it should blank the current values for empty values.

Unfortunately, every time I try this last option unchecked I get the following error:

Message: General catalog lookup of'' failed!

Traceback (24261):
Module: Kernel::System::ITSMConfigItem::XML::Type::GeneralCatalog::ImportValuePrepare (OTRS 3.3.4) Line: 264
Module: Kernel::System::ITSMConfigItem::XML::XMLImportValuePrepare (OTRS 3.3.4) Line: 239
Module: Kernel::System::ImportExport::ObjectBackend::ITSMConfigItem::_ImportXMLDataMerge (OTRS 3.3.4) Line: 1667
Module: Kernel::System::ImportExport::ObjectBackend::ITSMConfigItem::_ImportXMLDataMerge (OTRS 3.3.4) Line: 1643
Module: Kernel::System::ImportExport::ObjectBackend::ITSMConfigItem::ImportDataSave (OTRS 3.3.4) Line: 1083
Module: Kernel::System::ImportExport::Import (OTRS 3.3.4) Line: 2216
Module: /opt/otrs/bin/otrs.ImportExport.pl (unknown version) Line: 125

ERROR: OTRS-ImportExport-10 Perl: 5.10.1 OS: linux Time: Tue Mar 18 20:31:14 2014

Message: Can't import entity 1: Could not prepare the input!

Traceback (24261):
Module: Kernel::System::ImportExport::ObjectBackend::ITSMConfigItem::ImportDataSave (OTRS 3.3.4) Line: 1092
Module: Kernel::System::ImportExport::Import (OTRS 3.3.4) Line: 2216
Module: /opt/otrs/bin/otrs.ImportExport.pl (unknown version) Line: 125

ERROR: OTRS-ImportExport-10 Perl: 5.10.1 OS: linux Time: Tue Mar 18 20:31:14 2014
Last edited by pmontesd on 19 Mar 2014, 00:11, edited 1 time in total.
OTRS 3.3.5 - ITSM Bundle 3.3.5 on Centos 6.4 with Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod.
pmontesd
Znuny newbie
Posts: 21
Joined: 24 Nov 2013, 01:29
Znuny Version: 4.0.24
Real Name: Pablo Montesdeoca
Company: Inerza

Re: IMPORT/EXPORT module template

Post by pmontesd »

It seems I have it solved: There some values defined at the General Catalog that cannot be empty (e.g. Yes/No). Some valid value must be defined for them.

However, I have not found a mening for the Maximum number of one element option yet.
OTRS 3.3.5 - ITSM Bundle 3.3.5 on Centos 6.4 with Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod.
pmontesd
Znuny newbie
Posts: 21
Joined: 24 Nov 2013, 01:29
Znuny Version: 4.0.24
Real Name: Pablo Montesdeoca
Company: Inerza

Re: IMPORT/EXPORT module template

Post by pmontesd »

I've solved the other question: It limits the maximum number of attributes of the same type (e.g. disks/network adapters) in a CI. (e.g. computer) during import/export.
OTRS 3.3.5 - ITSM Bundle 3.3.5 on Centos 6.4 with Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod.
Locked