Last modified: 2013-06-27 13:49:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51845, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49845 - Weekly Bugzilla Report: "Created reports per product" lists random products, not those with highest numbers
Weekly Bugzilla Report: "Created reports per product" lists random products, ...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Andre Klapper
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-19 22:59 UTC by Andre Klapper
Modified: 2013-06-27 13:49 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andre Klapper 2013-06-19 22:59:38 UTC
Whenever you think that you've fixed that damn script, you suddenly realize there's something else that's still wrong.


Testing the fix for bug 49758, looking at its results:

Created reports per component:
VisualEditor           General                       33
MediaWiki extensions   UniversalLanguageSelector     27
VisualEditor           Editing Tools                 25
VisualEditor           MediaWiki integration         12
Wikimedia              Bugzilla                      11

Created reports per product:
MediaWiki                     43 
Wikimedia                     45 
MediaWiki extensions          104
Security                      3  
Tools                         5  

it is clear that the "product" list does not list those products with the **highest** number of new tickets in the last week.

This can be also seen on
https://bugzilla.wikimedia.org/report.cgi?x_axis_field=&y_axis_field=product&z_axis_field=&query_format=report-table&short_desc_type=allwordssubstr&short_desc=&longdesc_type=allwordssubstr&longdesc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_id=&bug_id_type=anyexact&votes=&votes_type=greaterthaneq&emailtype1=substring&email1=&emailtype2=substring&email2=&emailtype3=substring&email3=&chfield=[Bug+creation]&chfieldvalue=&chfieldfrom=-7d&chfieldto=Now&j_top=AND&f1=noop&o1=noop&v1=&format=table&action=wrap

which right now lists these top 5 products:

MediaWiki extensions  104
VisualEditor          95
MediaWiki             48
Wikimedia             47
Parsoid               23
Comment 1 Andre Klapper 2013-06-20 00:15:52 UTC
Looking back at the very first revision of operations/puppet/templates/misc/bugzilla_report.php it already says:

getBugsPerProduct() uses
SELECT name, count(*) FROM bugs
but
getBugsPerComponent() uses
SELECT name, count(*) as total FROM bugs

That's the only difference I can spot in the query designs.
Comment 2 Gerrit Notification Bot 2013-06-20 07:03:08 UTC
Related URL: https://gerrit.wikimedia.org/r/69629 (Gerrit Change Iecdc7439463f58be272cf0b73f662ac91d0b061b)
Comment 3 Andre Klapper 2013-06-20 07:05:21 UTC
Shizzle, /me blind. "ORDER BY foo DESC" is teh win!
Comment 4 Andre Klapper 2013-06-27 13:49:00 UTC
Deployed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links