Page MenuHomePhabricator

geographic coordinates don't work in multiple instance templates
Closed, ResolvedPublic

Description

Author: sh_holms

Description:
The map is shown and add/remove buttons work, but the map is static, the lookup coordinates button doesn't work the first time, after the second click refreshes the page and map sometimes disappears, sometimes becomes normal, other fields get randomly filled, it's a complete disarray.

Here's the template:

{{{for template|Event|label=details|multiple}}}
'''Date:''' {{{field|1|input type=datepicker|week start=1}}}

'''Coordinates:''' {{{field|2|input type=googlemaps

width=500height=300zoom=8autozoom=off}}}

{{{end template}}}

The exact same form, without the multiple setting works like a charm.


Version: unspecified
Severity: normal

Details

Reference
bz23647

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:11 PM
bzimport set Reference to bz23647.

Hi - what version of SF, SMW and SM are you using?

sh_holms wrote:

SF 1.9
SMW 1.5.0
SM 0.5.5

Re-assigning this to Jeroen - this looks like a Semantic Maps issue (multiple form inputs on one page); though it may have been resolved already in the upcoming version.

sh_holms wrote:

The problem is still there for SM/Maps 0.6 rc3

Ed, can you provide a link to a page demonstrating the incorrect behaviour?

Changed component to "SemanticMaps" (though the bug itself is possibly invalid).

It indeed does not work with any currently released version of Semantic Maps. Should get fixed in 0.8.x after JavaScript rewrite.