Closed Bug 227771 Opened 22 years ago Closed 22 years ago

Migration and product/component create code no longer writes series to database

Categories

(Bugzilla :: Reporting/Charting, defect, P1)

2.17.6
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: gerv, Assigned: gerv)

Details

Attachments

(1 file)

I have a strong suspicion that the checkin for bug 226682 broke migration, because collectstats.pl doesn't make the now-required explicit call to write the Series objects it creates to the database. Gerv
...or even "checksetup.pl". :-) Gerv
In fact, it's not just the migration code, it's several other places too. Gerv
Attached patch Patch v.1Splinter Review
Patch to convert other Series creators to new interface. Gerv
Comment on attachment 137022 [details] [diff] [review] Patch v.1 Kiko: could you review this? It's a follow-on from the last one. I've created both components and products, and the Series that get created are fine. Gerv
Attachment #137022 - Flags: review?(kiko)
Priority: -- → P1
Comment on attachment 137022 [details] [diff] [review] Patch v.1 Looks correct, and the changes are just API-conforming to what was altered in Series.pm Note that I can't remember if you changed any of the internal semantics of the parameter parsing when you did the reorganization; be sure to check if everything is still working as expected.
Attachment #137022 - Flags: review?(kiko) → review+
Flags: approval?
I checked; I didn't change the semantics of Series creation via parameters. Gerv
Flags: approval? → approval+
Fixed. Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.255; previous revision: 1.254 done Checking in editcomponents.cgi; /cvsroot/mozilla/webtools/bugzilla/editcomponents.cgi,v <-- editcomponents.cgi new revision: 1.37; previous revision: 1.36 done Checking in editproducts.cgi; /cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v <-- editproducts.cgi new revision: 1.44; previous revision: 1.43 done Gerv
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Summary: Migration code no longer writes series to database → Migration and product/component create code no longer writes series to database
Target Milestone: --- → Bugzilla 2.18
Sorry I didn't pick this up on my review for bug 226682 -- I forgot to use grep on the other callsites :-(
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: