Closed Bug 186218 Opened 22 years ago Closed 22 years ago

importxml.pl does a query against products using old schema

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: jon, Assigned: jon)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021203
Build Identifier: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021203

line 469 of importxml.pl reads:

      SendSQL("SELECT defaultmilestone FROM products " .
              "WHERE product = " . SqlQuote($product[0]));

except the products table has changed, and there's no longer a product column.
this should be:

      SendSQL("SELECT defaultmilestone FROM products " .
              "WHERE name = " . SqlQuote($product[0]));



Reproducible: Always

Steps to Reproduce:
Attached patch patchSplinter Review
confirming... reassigning to patch author
Assignee: justdave → jon
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.18
Comment on attachment 109800 [details] [diff] [review]
patch

if you could...  next time use diff -u so we get some context.	This looks good
though.
Attachment #109800 - Flags: review+
Checking in importxml.pl;
/cvsroot/mozilla/webtools/bugzilla/importxml.pl,v  <--  importxml.pl
new revision: 1.29; previous revision: 1.28
done
Status: NEW → RESOLVED
Closed: 22 years ago
Flags: approval+
Resolution: --- → FIXED
Component: Bugzilla-General → Bug Import/Export & Moving
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: