Last modified: 2013-08-14 10:37:35 UTC
SMW 1.9 alpha, SM 3.0 alpha. Example: http://localhost/phase3/index.php/Forecshow Report by Andy Chow: The forceshow parameter in Semantic Maps doesn't work, so which means that if the query has zero result, the map doesn't show. It is a problem because I want a map whether there's a query result or not. So far I don't have a good workaround. The default parameter (to show a map with display_point) seemed to work when there's no query, but a map won't show if there's a query. The next best thing I can think of is to use #if parser functions, which would mean running the query twice (first is to test whether it is valid) and then run again to show the query. I think this is rather an inefficient way to do it. -- end report -- Code in SM looks to be correct though is never executed when there are no results. Caused by changes in SMW result printer. Probably in 1.8. Method buildResult no longer calls getResultText when there are no results, thus preventing any "forceshow" functionality.