Open Bug 1509332 Opened 7 years ago Updated 5 years ago

Stop hardcoding users, products, components, keywords, version in bug history; use IDs instead

Categories

(bugzilla.mozilla.org :: General, task, P2)

Production

Tracking

()

People

(Reporter: marco, Unassigned)

References

(Blocks 1 open bug)

Details

This makes it hard to link the history results with the current results, where we only have the current email of the user.
Hmm, this is a bit difficult issue. In the history (bugs_activity) table, all the added/removed values are hardcoded as a comma-separated string. The solution may be storing unchangeable user IDs instead of email addresses, but we have to dig older emails in the audit log.
Emma also noticed this, which is actually not specific to the API.
Component: API → General
See Also: → 1513952
Blocks: 1513955

(In reply to Kohei Yoshino [:kohei] (Bugzilla UX) (FxSiteCompat) from comment #1)

Hmm, this is a bit difficult issue. In the history (bugs_activity) table,
all the added/removed values are hardcoded as a comma-separated string. The
solution may be storing unchangeable user IDs instead of email addresses,
but we have to dig older emails in the audit log.

Let’s do this.

Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Priority: -- → P2

This is also an issue that can affect people whose email changes are associated with gender, relationship and other personal history matters.

Also, a reason to move off of email as a unique identifier.

Summary: History contains emails of users at the time when the changes were made → Stop hardcoding users, products, components, keywords in bug history; use IDs instead
Summary: Stop hardcoding users, products, components, keywords in bug history; use IDs instead → Stop hardcoding users, products, components, keywords, version in bug history; use IDs instead
Type: enhancement → task
Assignee: kohei.yoshino → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.