web services

Kirill A Maksimov kmaksimov at naumen.ru
Mon Oct 16 11:57:19 UTC 2006


Hello,

I've written my own service in Bugzilla/WebServices/Bug.pm

sub create_bug {

    my $self = shift;

    Bugzilla->login;    

    $b = Bugzilla::Bug -> create ({'bug_severity' => 'enhancement',

    'component' => 'TestComponent',

    'creation_ts' => '2006.04.18 14:46',

    'op_sys' => 'Linux',

    'priority' => 'P2' ,

    'product' => 'TestProduct',

    'rep_platform' => 'PC',

    'short_desc' => 'abc',

    'version' => 'other',

    });    

    return $b;    

}


I've received a fault:

xmlrpclib.Fault: <Fault Server: 'Undefined subroutine &Component::check_component called at Bugzilla/Bug.pm line 560.\n'>


What's wrong?

-- 
Thanks for assistance,
Kirill A Maksimov, Naumen




More information about the developers mailing list