Closed Bug 257240 Opened 20 years ago Closed 19 years ago

Avoid duplicating TestProduct() and CheckProduct() across admin cgis

Categories

(Bugzilla :: Administration, task)

2.17.7
task
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: bugzilla, Assigned: timello)

References

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-gb) AppleWebKit/125.4 (KHTML, like Gecko) Safari/125.9 Build Identifier: Currently TestProduct() and CheckProduct() are duplicated in 4 admin cgis. This should be avoided Reproducible: Always Steps to Reproduce:
Assignee: justdave → bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
We have get_product_id() and get_product_name() in globals.pl; we should use them. These functions should then go into the future Product.pm file, see bug 294160.
Target Milestone: --- → Bugzilla 2.22
Depends on: 294160
reassigning to timello, who did all the hard work in bug 294160.
Assignee: bugzilla → timello
Status: ASSIGNED → NEW
QA Contact: mattyt-bugzilla → default-qa
and this bug is fixed, btw.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.