[rt-users] import 1.0 to 2.0

Tasos Chronis tasosc at otenet.gr
Mon Jun 25 09:02:18 EDT 2001


Christ. I do not know why I haven't look at the log files  before.
I will also check it out.

RT::User=HASH(0x74efa4)->HasQueueRight Couldn't find a queue id at 
/export/home/rt2/lib/RT/User.pm line 609
         RT::User::HasQueueRight('RT::User=HASH(0x74efa4)', 'TicketObj', 
'RT::Ticket=HASH(0x7ce63c)', 'Right', 'ShowTicket') called at 
/export/home/rt2/lib/RT/Ticket.pm line 2804
         RT::Ticket::HasRight('RT::Ticket=HASH(0x7ce63c)', 'Principal', 
'RT::User=HASH(0x74efa4)', 'Right', 'ShowTicket') called at 
/export/home/rt2/lib/RT/Ticket.pm line 2775
         RT::Ticket::CurrentUserHasRight('RT::Ticket=HASH(0x7ce63c)', 
'ShowTicket') called at /export/home/rt2/lib/RT/Ticket.pm line 2725
         RT::Ticket::_Value('RT::Ticket=HASH(0x7ce63c)', 'EffectiveId') 
called at 
/usr/local/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 406
 
DBIx::SearchBuilder::Record::AUTOLOAD('RT::Ticket=HASH(0x7ce63c)') 
called at /export/home/rt2/lib/RT/Ticket.pm line 91
         RT::Ticket::Load('RT::Ticket=HASH(0x7ce63c)', 34) called at 
/export/home/rt2/lib/RT/Record.pm line 96
         RT::Record::Create('id', 1, 'EffectiveId', 1, 'Queue', 2, 
'Owner', 5, ...) called at /export/home/rt2/lib/RT/Ticket.pm line 449
         RT::Ticket::Import('RT::Ticket=HASH(0x7ce63c)', 'id', 1, 
'Queue', 'statel', 'Status', 'resolved', 'Requestor', ...) called at 
import-1.0-to-2.0 line 425
         main::MigrateTickets() called at import-1.0-to-2.0 line 69
1_HasRight called without an AppliesTo object



Jesse wrote:

> what's in your /tmp/rt.log files?
> 
> 
> On Mon, Jun 25, 2001 at 01:26:21PM +0300, Tasos Chronis wrote:
> 
>>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