I just tested with bugzilla 3.2.3 and bugzilla 3.2.7 using just add_comment(
$comment ) /without extra params/: and I also got an error:
** Scmbug error 7: Error while adding bug comment: DBD::Pg::db do failed:
ERROR:  null value in column "assigned_to" violates not-null constraint [for
Statement "UPDATE bugs SET assigned_to = ?, bug_file_loc = ?, bug_severity =
?, bug_status = ?, cclist_accessible = ?, component_id = ?, estimated_time =
?, everconfirmed = ?, op_sys = ?, priority = ?, product_id = ?,
remaining_time = ?, rep_platform = ?, reporter_accessible = ?, resolution =
?, short_desc = ?, status_whiteboard = ?, target_milestone = ?, version = ?
WHERE bug_id = ?"]

which is issued on $bug->update()

(Maybe mysql doesn't have such not null constraints and updates fields to
null).

Regards,
Yavor

2010/7/23 쩐! <[email protected]>

> Sorry.
>
> I made a mistake.
>
> I upgraded to the Bugzilla v3.4.7, not v3.6.1
>
> So, the matter was resolved.
>
> Thanks.
>
>
>
> -----Original Message-----
> *From:* "쩐!"<[email protected]>
> *To:* [email protected]
> *Cc:*
> *Sent:* 10-07-22(목) 10:31:02
> *Subject:* Re: [scmbug-users]Scmbug overwrite bug's other data with null.
>
>  Oh~
>
>
>
> I upgraded to the Bugzilla v3.6.1
>
> So, the matter was resolved.
>
>
>
> Thank you for the tip.
>
>
>
>
>
>
>
> -----Original Message-----
> *From:* "Kristis Makris"<[email protected]>
> *To:* "쩐!"<[email protected]>
> *Cc:* [email protected]
> *Sent:* 10-07-20(화) 00:16:35
> *Subject:* Re: [scmbug-users] Scmbug overwrite bug's other data with null.
>
> Hello,
>
> This sounds like a serious problem.
>
> http://bugzilla.mkgnu.net/show_bug.cgi?id=1483
>
> On Mon, 2010-07-19 at 15:03 +0900, 쩐! wrote:
>
>
> > I was integrated svn and bugzilla with scmbug.
> > If I commit with bug_no, description in svn, it can update bug's data
> > in bugzilla.
> > But, it overwrite bug's other data before i entered (like
> > bug_severity, bug_status, priority, etc) with null.
> > How can I set the scmbug to keep the bug's other information?
>
> Scmbug shouldn't be overwriting anything. It uses
> Bugzilla::Bug->add_comment() to add comments, so any bugs in addition of
> the comments may be bugs in the Bugzilla source code.
>
> Could you try upgrading to the latest Bugzilla 3.2.x ?
>
> > I use that.
> >
> > - Bugzilla v3.2.3
> > - Scmbug v0.26.18
>
> >
>
>
>     <http://blog.naver.com/dudududa.do> 
> ....<http://blog.naver.com/dudududa.do>
> 안녕하세요. <http://blog.naver.com/dudududa.do>
>
>
>    <http://blog.naver.com/dudududa.do>  
> ....<http://blog.naver.com/dudududa.do>
> 안녕하세요. <http://blog.naver.com/dudududa.do>
>
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
>
>
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to