Last modified: 2013-05-14 11:01:35 UTC
Based on an email [1] from Krabina Bernhard and after some investigation SMWAggregatablePrinter was suppose to generate aggregate numbers for the following sample data set. ## Example Subject = Test [[AA::4]] [[BB::2]] [[CC::16]] [[DD::0]] [[EE::5 ]] [[FF::3]] [[GG::2]] [[Category:Test123]] {{#ask: [[Category:Test123]] |?AA |?BB |?CC |?DD |?EE |?FF |?GG |format=... }} SMWAggregatablePrinter::getNumericResults would output (for subject "Test") array(1) { ["Test"]=> float(2) ---> wrong number } and for mainlabel=- array(1) { [4]=> ---> no label float(2) ---> wrong number } Where in fact expected results for subject "Test" are array(1) { ["Test"]=> ---> expected label float(32) ---> expected result (aggregate numbers for Test) } and for mainlabel=- array(6) { ["BB"]=> float(2) ["CC"]=> float(16) ["DD"]=> float(0) ["EE"]=> float(5) ["FF"]=> float(3) ["GG"]=> float(2) } [1] http://sourceforge.net/mailarchive/message.php?msg_id=30710813
Related URL: https://gerrit.wikimedia.org/r/58689 (Gerrit Change I93296527981efd8c31cb7e2ba95ca688f00ddb4a)
https://gerrit.wikimedia.org/r/58689 (Gerrit Change I93296527981efd8c31cb7e2ba95ca688f00ddb4a) | change APPROVED and MERGED [by jenkins-bot]
Gerrit patch got merged, can this bug report get closed as RESOLVED FIXED or is there anything else to do?