Thread:Semantic-mediawiki.org:Community portal/Query on specific value of Geographical coordinate type property returns nothing/reply (10)

If you just have coordinates in the result set, it will default to map yes.

Yes, I understand. That is not the issue. What I meant by the horribly phrased second point, was the following. When SMW, because of bug 44933, looks up the values in the wrong fields, it will naturally return a null result, as no entry matches the search strings. Here are a few examples of queries and their expected results, versus their actual results:

Expected result: An empty or "nonexistent broadtable". Actual result: A nonexistent broadtable.

Expected result: The number zero. Actual result: The number zero.

Expected result: A link to a csv file empty of results: Actual result: A link to a csv file empty of results.

Expected result: An empty or "nonexistent map". Actual result: A nonexistent map.

Expected result: An empty or "nonexistent map", because it defaults to the map format. Actual result: A fatal exception error with the following as the top of the stacktrace:

There is no result format for 'map'.

Backtrace:
 * 1) 0 /customers/a/0/d/somecustomer/httpd.www/extensions/SemanticMediaWiki/includes/params/SMW_ParamFormat.php(143): SMWQueryProcessor::getResultPrinter('map')

This seems to be a problem separate from bug 44933.