New error while importing assets

After creating several Catalogs and successfully importing Assets into them
from CSV files, I am now getting an error I can’t seem to figure out. The
error I am seeing looks like this;

[1933] [Mon Nov 10 16:16:09 2014] [error]: Failed to set CF Model to
GCS3-651-120-150A-5 for row 3: Custom field 13 does not apply to this
object
(/opt/rt4/local/plugins/RT-Extension-Assets-Import-CSV/lib/RT/Extension/Assets/Import/CSV.pm:167)

The data shown is the correct information that is supposed to go into the
custom field named Model. I am also seeing this for other custom fields
for and for multiple rows. I have compared the various rows that don’t
generate any errors and do not see any pattern.

I did just upgrade to version 4.2.9 and add the CommandByMail extension.

My system consists of the following running on Ubuntu Server 14.04.
rt-4.2.9
RT-Authen-ExternalAuth-0.23.tar.gz
RT-Extension-LDAPImport-0.35.tar.gz
RT-Extension-Assets-1.01.tar.gz
RT-Extension-Assets-Import-CSV-1.3.tar.gz with Text-CSV_XS-1.11 added
RT-Extension-RepeatTicket-0.07.tar.gz
RT-Extension-CommandByMail-0.17.tar.gz

Any suggestions on how to resolve this would be appreciated.

Mitch
Mitch Kyser
Network Administrator
Albion.College
mkyser@albion.edu

After creating several Catalogs and successfully importing Assets into them
from CSV files, I am now getting an error I can’t seem to figure out. The
error I am seeing looks like this;

I’m guessing that maybe you forgot to apply one of your Custom Fields
across all the catalogs.

[1933] [Mon Nov 10 16:16:09 2014] [error]: Failed to set CF Model to
GCS3-651-120-150A-5 for row 3: Custom field 13 does not apply to this object (/
opt/rt4/local/plugins/RT-Extension-Assets-Import-CSV/lib/RT/Extension/Assets/
Import/CSV.pm:167)

If you navigate to Admin → Custom Fields confirm that CF # 13 is an
Asset custom field then click into it and check that the Applies To
link in the upper right corner shows this custom field applied either
globally or to all the relevant Catalogs.

RT-Extension-Assets-Import-CSV 1.4 was released but it doesn’t touch
any of the relevant code.

-kevin

Thanks Kevin

The Custom Field did apply to the relevant Catalogs. I sort of by-passed
the issue. It seems the Unique CF I called ID Number or the column in the
CSV I mapped to it (named ID and in the first column) might have had
something to do with it. As I checked each error which gave a row number, I
checked the rows around it to see if the record existed in the Catalog, The
ones that didn’t all had an ID Number under 40. So I edited the CSV by
adding 10000 to the ID field in the CSV. Those that I had edited were
imported. I kept repeating this until all the records made it into the
Catalog. It wasn’t ideal but the job got done.

On the other hand where can I get the newest Import Extension. I tried the
Get Repository but that extracted to a folder numbered 1.1

Thanks againOn Tue, Nov 11, 2014 at 2:16 PM, Kevin Falcone falcone@bestpractical.com wrote:

On Mon, Nov 10, 2014 at 11:46:45AM -0500, Mitch Kyser wrote:

After creating several Catalogs and successfully importing Assets into
them
from CSV files, I am now getting an error I can’t seem to figure out.
The
error I am seeing looks like this;

I’m guessing that maybe you forgot to apply one of your Custom Fields
across all the catalogs.

[1933] [Mon Nov 10 16:16:09 2014] [error]: Failed to set CF Model to
GCS3-651-120-150A-5 for row 3: Custom field 13 does not apply to this
object (/

opt/rt4/local/plugins/RT-Extension-Assets-Import-CSV/lib/RT/Extension/Assets/

Import/CSV.pm:167)

If you navigate to Admin → Custom Fields confirm that CF # 13 is an
Asset custom field then click into it and check that the Applies To
link in the upper right corner shows this custom field applied either
globally or to all the relevant Catalogs.

RT-Extension-Assets-Import-CSV 1.4 was released but it doesn’t touch
any of the relevant code.

-kevin

Mitch Kyser
Network Administrator
Albion.College
mkyser@albion.edu