Closed Bug 1587982 Opened 6 years ago Closed 6 years ago

Extraneous comma in history due to wrong join of added field in Bug 1368555

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kohei, Assigned: kohei)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Marco’s last comment in Bug 1556178:

Still seeing it in https://bugzilla.mozilla.org/rest/bug/1368555/history (the 77th history element has "added": "https://webcompat.com/issues/9697, ").

This is what I get:

mysql> select removed, added from bugs_activity where bug_id = 1368555 and bug_when = '2018-07-12 14:44:03';
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+
| removed                                                                                                                                                                                                          | added                             |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+
| https://webcompat.com/issues/7091, https://webcompat.com/issues/7612, https://webcompat.com/issues/1006, https://webcompat.com/issues/8673, https://webcompat.com/issues/9212, https://webcompat.com/issues/8034 | https://webcompat.com/issues/9697 |
| , https://github.com/webcompat/web-bugs/issues/9697, https://webcompat.com/issues/9524, https://webcompat.com/issues/10352                                                                                       |                                   |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+
2 rows in set (0.00 sec)

Should be easy to fix.

Summary: Extraneous comma in history due to wrong joins, e.g. depends_on field in Bug 1368555 → Extraneous comma in history due to wrong join of added field in Bug 1368555
Attached file GitHub Pull Request

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: