[rt-users] import 1.0 to 2.0

Tasos Chronis tasosc at otenet.gr
Mon Jun 25 06:26:21 EDT 2001


nope.

Importing tickets...


         main::MigrateTickets() called at import-1.0-to-2.0 line 72
1.



Jesse wrote:

> does 2.0.0-RC1 and the current import script (noted in the readme)
> fix this?
> 
>         -j
> 
> 
> On Fri, Jun 22, 2001 at 10:08:07AM +0300, Tasos Chronis wrote:
> 
>>Yes and no.
>>
>>What I did was :
>>
>>(edit the makefile)
>>make dropdb (just to be sure)
>>make fixdeps
>>make install
>>cd <where rt2 is installed>
>>edit etc/config.pm
>>etc/import-1.0-to-2.0
>>
>>capone[root]:~rt2/etc#perl -w importtciketsonly
>>Importing tickets...
>>
>>1.args(id)=1, id=0 (the id is the return from SUPER::Create in Import)
>>
>>         main::MigrateTickets() called at importtciketsonly line 69
>>
>>No further errors.
>>
>>If I run it again
>>
>>
>>capone[root]:~rt2/etc#perl -w importtciketsonly
>>Importing tickets...
>>
>>1.args(id)=1, id=
>>RT::Ticket=HASH(0x752ea8)->Import couldn't set EffectiveId: No value 
>>sent to _Set!
>>
>>
>>         main::MigrateTickets() called at importtciketsonly line 69
>>
>>
>>mysql> select * from Tickets\G
>>
>>*************************** 1. row ***************************
>>              id: 1
>>     EffectiveId: NULL
>>           Queue: 2
>>            Type: ticket
>>  IssueStatement: NULL
>>      Resolution: NULL
>>           Owner: 5
>>         Subject: This is a test Incident
>>InitialPriority: 0
>>   FinalPriority: 0
>>        Priority: 0
>>          Status: resolved
>>      TimeWorked: 0
>>        TimeLeft: NULL
>>            Told: 1970-01-01 00:00:00
>>          Starts: NULL
>>         Started: NULL
>>             Due: 2001-02-19 23:00:00
>>        Resolved: NULL
>>   LastUpdatedBy: 1
>>     LastUpdated: 2001-03-19 09:37:52
>>         Creator: 1
>>         Created: 2001-02-13 09:28:40
>>        Disabled: 0
>>1 row in set (0.00 sec)
>>
>>There are about 120 tickets.
>>
>>
>>If I delete this record I get the first error.
>>
>>Thanks.
>>
>>Jesse wrote:
>>
>>
>>>That sounds like you tried to create some tickets in the RT2 database
>>>before trying the import.  You need a pristine RT2 database for the importer
>>>to work right.
>>>
>>>        -j
>>>
>>>
>>>On Thu, Jun 21, 2001 at 05:19:17PM +0300, Tasos Chronis wrote:
>>>
>>>
>>>>Hello all
>>>>
>>>>I am using version 1.07 and I am trying to import to 1.3.105
>>>>but I cannot import the tickets. What I get is this :
>>>>
>>>>RT::Ticket=HASH(0x751d7c)->Import couldn't set EffectiveId: No value
>>>>sent to _Set!
>>>>
>>>>
>>>>         main::MigrateTickets() called at importtciketsonly line 69
>>>>1.
>>>>
>>>>Perl version 5.6.1
>>>>Sun Solaris 8
>>>>latest DBIx
>>>>
>>>>Thankjs
>>>>Tasos
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>rt-users mailing list
>>>>rt-users at lists.fsck.com
>>>>http://lists.fsck.com/mailman/listinfo/rt-users
>>>>
>>>>
>>>>
>>
>>
>>
> 







More information about the rt-users mailing list