https://bugzilla.wikimedia.org/show_bug.cgi?id=23896

           Summary: Results of SM/SF queries are not shown in map
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: SemanticMaps
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The results of geographical queries done through semantic forms are not shown
in a result map.
The result map hangs at "Loading map".

The effect can be tested at the following side:
http://www.bluewater-info.net/wiki_/Test_SF_query
1. Klick on TestQueryForm
2. enter "hamburg" at "Look up coordinates" and klick on "lookup coordinates"
3. enter "15 km" at "Maximum distance to the harbour you are looking for to the
choosen coordinates:"
4. klick on "Run query"
The result map hangs at "Loading map ..."

The form and template were functional before the upgrade to SMW1.5.

corresponding form code:
<includeonly>
{{{for template|TestQuery}}}
Please specify the desired characteristics below. Additionally to the minimum
depth and the maximum distance, only maximum three problerties are allowed to
mark, to ensure the correctness of the query!

{| class="formtable"
! Coordinates:
| colspan="3" | {{{field|Coordinates|input
type=map|service=googlemaps|type=physical|width=800|height=500|zoom=8}}}
|-
|}
{| class="formtable"
! colspan="2" | Maximum distance to the harbour you are looking for to the
choosen coordinates:
| colspan="2" | {{{field|distance}}}  in km, miles or nautical miles, eg.: "50
km", "50 mi" or "50 nm"
|-
! colspan="2" | Minimum depth of the habour:
| colspan="2" | {{{field|Depth max|property=Depth max|default=0}}} Please use
the dot instead of a komma as the decimal separator. Attach the unit (m for
meter, ft for feet) at the end of the value. For example: "2.7 m"
|-
! Nighttime approach possible:
| {{{field|Nighttime approach|property=Nighttime approach|default=false}}}
|-
! Drinking water:
| {{{field|Drinking water|property=Drinking water|default=false}}}
! non potable Water:
| {{{field|Water|property=Water|default=false}}}
|-
! Electrical current:
| {{{field|Electrical current|property=Electrical current|default=false}}}
! Internet wlan:
| {{{field|Internet wlan|property=Internet wlan|default=false}}}
|-
! Washing facility:
| {{{field|Washing facility|property=Washing facility|default=false}}}
! Toilets:
| {{{field|Toilets|property=Toilets|default=false}}}
|-
! Shower:
| {{{field|Shower|property=Shower|default=false}}}
! Washing machine/trumbler:
| {{{field|Washing machine/trumbler|property=Washing
machine/trumbler|default=false}}}
|-
! Waste disposal:
| {{{field|Waste disposal|property=Waste disposal|default=false}}}
! Waste water extraction:
| {{{field|Waste water extraction|property=Waste water
extraction|default=false}}}
|-
! BBQ area:
| {{{field|BBQ area|property=BBQ area|default=false}}}
! Parking area:
| {{{field|Parking area|property=Parking area|default=false}}}
|-
! Diesel:
| {{{field|Diesel|property=Diesel|default=false}}}
! Gasoline:
| {{{field|Gasoline|property=Gasoline|default=false}}}
|-
! Gas:
| {{{field|Gas|property=Gas|default=false}}}
|-
! Crane:
| {{{field|Crane|property=Crane|default=false}}}
! Crane for masts:
| {{{field|Crane for masts|property=Crane for masts|default=false}}}
|-
! Slip:
| {{{field|Slip|property=Slip|default=false}}}
! Repair shop:
| {{{field|Repair shop|property=Repair shop|default=false}}}
|-
! Ship chandler:
| {{{field|Ship chandler|property=Ship chandler|default=false}}}
! Sail maker:
| {{{field|Sail maker|property=Sail maker|default=false}}}
|-
! Baker:
| {{{field|Baker|property=Baker|default=false}}}
! Supermarket:
| {{{field|Supermarket|property=Supermarket|default=false}}}
|-
! Restaurant:
| {{{field|Restaurant|property=Restaurant|default=false}}}
! Pharmacy:
| {{{field|Pharmacy|property=Pharmacy|default=false}}}
|-
! Post:
| {{{field|Post|property=Post|default=false}}}
! Bank:
| {{{field|Bank|property=Bank|default=false}}}
|-
! Doctor:
| {{{field|Doctor|property=Doctor|default=false}}}
|-
! Public transportation:
| {{{field|Public transportation|property=Public
transportation|default=false}}}
! Places of interest:
| {{{field|Places of interest|property=Places of interest|default=false}}}
|-
|}
{{{end template}}}
</includeonly>

corresponding template code:
<includeonly>
{{#compound_query:[[Category:Hafen de||Hafen]]
[[Depth max::>{{{Depth max}}}]]
{{#ifeq: {{{Nighttime approach}}} | Yes | [[Nighttime approach::>{{{Nighttime
approach}}}]] | }}
{{#ifeq: {{{Drinking water}}} | Yes | [[Drinking water::>{{{Drinking water}}}]]
| }}
{{#ifeq: {{{Water}}} | Yes | [[Water::>{{{Water}}}]] | }}
{{#ifeq: {{{Electrical current}}} | Yes | [[Electrical current::>{{{Electrical
current}}}]] | }}
{{#ifeq: {{{Internet wlan}}} | Yes | [[Internet wlan::>{{{Internet wlan}}}]] |
}}
{{#ifeq: {{{Washing facility}}} | Yes | [[Washing facility::>{{{Washing
facility}}}]] | }}
{{#ifeq: {{{Toilets}}} | Yes | [[Toilets::>{{{Toilets}}}]] | }}
{{#ifeq: {{{Shower}}} | Yes | [[Shower::>{{{Shower}}}]] | }}
{{#ifeq: {{{Washing machine/trumbler}}} | Yes | [[Washing
machine/trumbler::>{{{Washing machine/trumbler}}}]] | }}
{{#ifeq: {{{Waste disposal}}} | Yes | [[Waste disposal::>{{{Waste disposal}}}]]
| }}
{{#ifeq: {{{Waste water extraction}}} | Yes | [[Waste water
extraction::>{{{Waste water extraction}}}]] | }}
{{#ifeq: {{{BBQ area}}} | Yes | [[BBQ area::>{{{BBQ area}}}]] | }}
{{#ifeq: {{{Parking area}}} | Yes | [[Parking area::>{{{Parking area}}}]] | }}
{{#ifeq: {{{Diesel}}} | Yes | [[Diesel::>{{{Diesel}}}]] | }}
{{#ifeq: {{{Gasoline}}} | Yes | [[Gasoline::>{{{Gasoline}}}]] | }}
{{#ifeq: {{{Gas}}} | Yes | [[Gas::>{{{Gas}}}]] | }}
{{#ifeq: {{{Crane}}} | Yes | [[Crane::>{{{Crane}}}]] | }}
{{#ifeq: {{{Crane for masts}}} | Yes | [[Crane for masts::>{{{Crane for
masts}}}]] | }}
{{#ifeq: {{{Slip}}} | Yes | [[Slip::>{{{Slip}}}]] | }}
{{#ifeq: {{{Repair shop}}} | Yes | [[Repair shop::>{{{Repair shop}}}]] | }}
{{#ifeq: {{{Ship chandler}}} | Yes | [[Ship chandler::>{{{Ship chandler}}}]] |
}}
{{#ifeq: {{{Sail maker}}} | Yes | [[Sail maker::>{{{Sail maker}}}]] | }}
{{#ifeq: {{{Baker}}} | Yes | [[Baker::>{{{Baker}}}]] | }}
{{#ifeq: {{{Supermarket}}} | Yes | [[Supermarket::>{{{Supermarket}}}]] | }}
{{#ifeq: {{{Restaurant}}} | Yes | [[Restaurant::>{{{Restaurant}}}]] | }}
{{#ifeq: {{{Pharmacy}}} | Yes | [[Pharmacy::>{{{Pharmacy}}}]] | }}
{{#ifeq: {{{Post}}} | Yes | [[Post::>{{{Post}}}]] | }}
{{#ifeq: {{{Bank}}} | Yes | [[Bank::>{{{Bank}}}]] | }}
{{#ifeq: {{{Doctor}}} | Yes | [[Doctor::>{{{Doctor}}}]] | }}
{{#ifeq: {{{Public transportation}}} | Yes | [[Public
transportation::>{{{Public transportation}}}]] | }}
{{#ifeq: {{{Places of interest}}} | Yes | [[Places of interest::>{{{Places of
interest}}}]] | }}
[[Coordinates::{{{Coordinates}}} ({{{distance}}})]]
;?coordinates;?depth
max;icon=NChart-Symbol_INT_Harbour24.png|format=openlayers|width=900|height=600|layers=osm,bing}}
</includeonly>

The enviroment:
MediaWiki      1.16.0beta3
PHP     5.2.4-2ubuntu5.10 (apache2handler)
MySQL     5.0.51a-3ubuntu5.7
Lookup User (Version 1.1)
Semantic Forms (Version 1.9.1)     (r67766)
anysite extension
HTMLets
MagicNoCache (Version 1.1)
Maps (Version 0.6.3 alpha)     (r67766)
ParserFunctions (Version 1.2.0)
Semantic Compound Queries (Version 0.2.5)     (r67488)
Semantic MediaWiki (Version 1.5.2 alpha-1)     (r67524)
URL Get Parameters parser extension (Version 1.0.0)
Winter (Wiki INTERpreter) (Version 2.2.0)
AllowGetParamsInWikilinks (Version 0.4)
DynamicTabs (Version 0.5.3)
Google AdSense (Version 1.1)
Google Analytics Integration (Version 2.0.1)
Language Selector
Lockdown
MetaTags (Version 1.1.0)
PagesOnDemand (Version 0.1)
Semantic Maps (Version 0.6.3 alpha)     (r67766)
StubManager (Version 1.3.2)
Validator (Version 0.3.3 alpha)     (r67766)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to