doh - and to the list as well... On 6/4/07, Dmitri Colebatch <[EMAIL PROTECTED]> wrote:
Hi Oliver, On 6/4/07, Oliver Schäfer <[EMAIL PROTECTED]> wrote: > > first of all, thank you for dedicating to this issue. I like the idea to > have a Bugzilla3.pm <http://bugzilla3.pm/>, would ease maintenance of > code in the future. Good - I'll start of heading down that path then. I'll copy the existing Bugzilla.pm <http://bugzilla.pm/> to Bugzilla3.pm <http://bugzilla3.pm/>and work my way through the methods. No probs for the time - there's a few things in bugzilla 3 we need, and I'm assuming this won't take more than a day or two. >Secondly, looking at http://www.bugzilla.org/docs/tip/html/api/ there is > no > mention of Bugzilla::Bug - am I > >missing something here? > > You might file a bug against bugzilla for a missing API documentation. Will do, although I've sent one stupid email to the bugzilla list already today, will have to wait for tomorrow's quota (o: >The code runs fine up to line 46: > > print "pid:".$product->id."\n"; > > Could you give more details? I can't reproduce it on my machine. Yeah sure. I've installed bugzilla-3.0 in /usr/local/bugzilla-3.0 and have changed the use lib line of your script to: use lib "/usr/local/bugzilla-3.0"; which I assume is right as the other stuff is working. Ahhh - I've just found the problem. I hadn't looked closely before... I had assumed the product was the product from the bug.... once I changed 'TESTPROD' to 'Admin' (a product we have) then it worked. Sorry for the confusion. I'll be making a start on this tomorrow (GMT+10). Any other advice between now and then will be happily received. cheers, dim
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
