Open Bug 288296 Opened 20 years ago Updated 14 years ago

Use Bugzilla::Bug (or BugList) everywhere instead of subroutines or direct SQL

Categories

(Bugzilla :: Bugzilla-General, enhancement, P3)

2.19.2
enhancement

Tracking

()

People

(Reporter: mkanat, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: meta)

Bugzilla::Bug should be the central way to access, change, and create a Bug.

All code should strive to use the object instead of writing their own SQL or
subroutines.
Priority: -- → P3
Depends on: 286351
Keywords: meta
Depends on: 395451
Isn't it the case already, now that set_all() and create() and update() exist?
(In reply to comment #1)
> Isn't it the case already, now that set_all() and create() and update() exist?

  Very nearly. There are a few subroutines in Bugzilla::Bug that are still used that should be replaced with method calls on Bug objects.
You need to log in before you can comment on or make changes to this bug.