bug resolution and foreign keys
Craig
craig5 at pobox.com
Tue Aug 5 22:53:15 UTC 2008
Max Kanat-Alexander wrote:
> On Tue, 05 Aug 2008 15:30:39 -0700 Craig <craig5 at pobox.com> wrote:
>> Some of the fields cannot be changed.
>
> That's because the code requires those specific names and
> checks for them.
Does that make "complete" localization difficult/impossible?
What about a column for "display_name" (or whatever)? That would allow
the data actually displayed on the web page to change, but most of the
code would remain the same.
I'm thinking that changing the code to look for "resolution.id = 7" (vs.
"resolution.value = 'DUPLICATE'") makes it more difficult to
read/understand.
But, "just adding a column" can lead to a "rat's nest" down the road.
More information about the developers
mailing list