Hello Rangel...
Now that you mentioned the file, I remember I saw a problem with that
perl module at the md5_hex() function....
I edited the file AttachmentStorageDB.pm and add the encode_utf8()
inside md5_hex()... this is the result..
my $RealMD5Sum = md5_hex(encode_utf8($Content));
Keep an eye at the log, may be you are missing other perl modules...
This is my the definition for Computer...
Config Item Class:
Computer
Versión:
6
Creado por:
valentin.ortiz (Valentin Ortiz F.)
Creado:
11/04/2011 - 10:38:48
Definition:
$TimeLong{"[
{
Key => 'Vendor',
Name => 'Vendor',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
},
},
{
Key => 'Model',
Name => 'Model',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
},
},
{
Key => 'Description',
Name => 'Description',
Searchable => 1,
Input => {
Type => 'TextArea',
},
},
{
Key => 'Type',
Name => 'Type',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Computer::Type',
Translation => 1,
},
},
{
Key => 'Owner',
Name => 'Owner',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Company::Type',
},
},
{
Key => 'Asignadoa',
Name => 'Asignado a',
Searchable => 1,
Input => {
Type => 'Customer',
},
},
{
Key => 'SerialNumber',
Name => 'Serial Number',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'OperatingSystem',
Name => 'Operating System',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'CPU',
Name => 'CPU',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
CountMax => 16,
},
{
Key => 'Ram',
Name => 'Ram',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
CountMax => 10,
},
{
Key => 'HardDisk',
Name => 'Hard Disk',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
CountMax => 10,
Sub => [
{
Key => 'Capacity',
Name => 'Capacity',
Input => {
Type => 'Text',
Size => 20,
MaxLength => 10,
},
},
],
},
{
Key => 'FQDN',
Name => 'FQDN',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'NIC',
Name => 'Network Adapter',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
Required => 1,
},
CountMin => 0,
CountMax => 10,
CountDefault => 1,
Sub => [
{
Key => 'IPoverDHCP',
Name => 'IP over DHCP',
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::YesNo',
Translation => 1,
Required => 1,
},
},
{
Key => 'IPAddress',
Name => 'IP Address',
Searchable => 1,
Input => {
Type => 'Text',
Size => 40,
MaxLength => 40,
Required => 1,
},
CountMin => 0,
CountMax => 20,
CountDefault => 0,
},
],
},
{
Key => 'GraphicAdapter',
Name => 'Graphic Adapter',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'OtherEquipment',
Name => 'Other Equipment',
Input => {
Type => 'TextArea',
Required => 1,
},
CountMin => 0,
CountDefault => 0,
},
{
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,
CountDefault => 0,
},
{
Key => 'idClaveERP',
Name => 'Clave ERP',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'idNoReq',
Name => 'Número de Requisición',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 20,
},
},
{
Key => 'idFactura',
Name => 'Factura',
Searchable => 1,
Input => {
Size => 50,
MaxLength => 50,
Type => 'CIAttachment',
},
CountMin => 0,
CountMax => 1,
},
{
Key => 'idConfig',
Name => 'Configuración',
Input => {
Size => 50,
MaxLength => 50,
Type => 'CIAttachment',
},
CountMin => 0,
CountMax => 1,
},
{
Key => 'idCotizacion',
Name => 'Cotización',
Input => {
Size => 50,
MaxLength => 50,
Type => 'CIAttachment',
},
CountMin => 0,
CountMax => 1,
},
{
Key => 'idPedido',
Name => 'Pedido',
Input => {
Size => 50,
MaxLength => 50,
Type => 'CIAttachment',
},
CountMin => 0,
CountMax => 1,
},
{
Key => 'Note',
Name => 'Note',
Searchable => 1,
Input => {
Type => 'TextArea',
Required => 1,
},
CountMin => 0,
CountDefault => 0,
},
];"}
Hope that helps
Regards.
-----Original Message-----
From: Rangel Perez Sardinha <[email protected]>
Reply-to: "OTRS::ITSM User questions and discussions" <[email protected]>
To: OTRS::ITSM User questions and discussions <[email protected]>
Subject: Re: [itsm] Attachments in CIs
Date: Tue, 12 Apr 2011 19:28:57 -0300
Rangel Perez Sardinha
Projects\Support Analyst
Unidade - RPO
* [email protected]
+55 (16) 3515-5800
+55 (16) 3515-5807
+55 (11) 3130-9800
+55 (16) 9287-4445
sig.tiff
Hi Valentin,
Could you send me your Class Definition for the CI that u are using
attachs? When i was adding a JPG, after submit the CI i get error
in Kernel/System/CIAttachmentStorage/AttachmentStorageDB.pm line 288.
Rangel Perez Sardinha
Projects\Support Analyst
Unidade - RPO
* [email protected]
(+55 (16) 3515-5800
(+55 (16) 3515-5807
(+55 (11) 3130-9800
(+55 (16) 9287-4445
>
>
>
>
>
> On 12/04/2011, at 18:42, Valentín Ortiz F. wrote:
>
>
>
> > I'm also using ITSM-CIAttributeCollection with OTRS ITSM 3.0.1 and
> > it is
> > working fine, I'm able to attach any type of file. Do you have
> > problems
> > only with jpeg images?
> >
> >
> >
> > -----Original Message-----
> > From: Rangel Perez Sardinha <[email protected]>
> > Reply-to: "OTRS::ITSM User questions and discussions"
> > <[email protected]>
> > To: [email protected]
> > Subject: [itsm] Attachments in CIs
> > Date: Tue, 12 Apr 2011 16:59:08 -0300
> >
> > May i attach a file direct to a CI? I had tried to use ITSM CI
> > Attribute Collection, but when i use type File Attach in
> > ConfigurationItem and edit a CI i attaching a JPG i can't edit it
> > anymore and have no access to CI anymore.
> >
> >
> > Rangel Perez Sardinha
> >
> > Projects\Support Analyst
> >
> >
> > Unidade - RPO
> >
> > * [email protected]
> >
> > (+55 (16) 3515-5800
> >
> > (+55 (16) 3515-5807
> >
> > (+55 (11) 3130-9800
> >
> > (+55 (16) 9287-4445
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > OTRS mailing list: itsm - Webpage: http://otrs.org/
> > Archive: http://lists.otrs.org/pipermail/itsm
> > To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
> >
> > ---------------------------------------------------------------------
> > OTRS mailing list: itsm - Webpage: http://otrs.org/
> > Archive: http://lists.otrs.org/pipermail/itsm
> > To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
> >
>
>
>
---------------------------------------------------------------------
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
---------------------------------------------------------------------
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm