Closed Bug 423346 Opened 16 years ago Closed 16 years ago

importxml.pl fails when importing attachments

Categories

(Bugzilla :: Bug Import/Export & Moving, defect)

3.1.3
defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch patch, v1Splinter Review
Regression due to bug 99215:

DBD::Pg::db do failed: ERREUR:  Une valeur NULL dans la colonne «modification_time» viole la contrainte NOT NULL
 [for Statement "INSERT INTO attachments
                 (bug_id, creation_ts, filename, description, mimetype,
                 ispatch, isprivate, isobsolete, submitter_id)
                 VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"] at ./importxml.pl line 1196

The reason is that modification_time has no default value, but we forgot to set it in importxml.pl.
Flags: blocking3.2+
Attachment #309845 - Flags: review?(ghendricks)
Attachment #309845 - Flags: review?(ghendricks) → review+
Flags: approval?
Flags: approval? → approval+
Checking in importxml.pl;
/cvsroot/mozilla/webtools/bugzilla/importxml.pl,v  <--  importxml.pl
new revision: 1.79; previous revision: 1.78
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: