ivosturm / GoogleMapsCustomMarker

Extended functionality for the Mendix GoogleMaps widget including drag and drop, markerclustering and customization of markers
0 stars 4 forks source link

Latest version breaks widget #5

Closed Mcpoowl closed 7 years ago

Mcpoowl commented 7 years ago

Hi Ivo,

I just upgraded to the latest version of the widget, from Mendix 6. However, when using version 1.2.1, the widget breaks, rendering fine, but showing only one object, which is the context object, instead of the object selected in the widget.

downloading the previous version (1.2.0) and everything works accordingly.

Loging in breaking version (v1.2.1) image

Logging in working versoin (v1.2.0) image

Obviously, no settings were changed while checking different versions.

ivosturm commented 7 years ago

Hi Paul,

What is the scenario in which the widget breaks in the new version? Are you using the widget in a dataview and referring to it in the XPath constraint of the widget?

In the newer version (1.2.1) I fixed a bug related to the contextobject always being retrieved from the database, which is not always necessary. I think this ‘fix’ is now causing your scenario to break.

Can you send me a printscreen of the page + widget settings? That will help greatly in fixing this!

Regards, Ivo

Van: Paul Ketelaars [mailto:notifications@github.com] Verzonden: woensdag 2 augustus 2017 10:49 Aan: ivosturm/GoogleMapsCustomMarker GoogleMapsCustomMarker@noreply.github.com CC: Subscribed subscribed@noreply.github.com Onderwerp: [ivosturm/GoogleMapsCustomMarker] Latest version breaks widget (#5)

Hi Ivo,

I just upgraded to the latest version of the widget, from Mendix 6. However, when using version 1.2.1, the widget breaks, rendering fine, but showing only one object, which is the context object, instead of the object selected in the widget.

downloading the previous version (1.2.0) and everything works accordingly.

Loging in breaking version (v1.2.1) [image]https://user-images.githubusercontent.com/2244753/28865351-de493f46-776f-11e7-930a-c06ed7f0430a.png

Logging in working versoin (v1.2.0) [image]https://user-images.githubusercontent.com/2244753/28865411-2145c7e2-7770-11e7-98ed-9389858384cb.png

Obviously, no settings were changed while checking different versions.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ivosturm/GoogleMapsCustomMarker/issues/5, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANZk2oJAA-N1K4OlA6ltGrtFv7n3OVxTks5sUDf6gaJpZM4OqyKt.

Mcpoowl commented 7 years ago

Hi Ivo,

Thanks for the quick response. Indeed it's in a dataview, with an XPath Constraint on it.

See screenshot:

image

//edit: I accidentally created the screenshot in my Mendix 6 branch and thus the older widget version, but the XPath setup remains the same even in the new version :)

ivosturm commented 7 years ago

Hi Paul, I just added an upgraded version of the widget with a fix for this bug in the AppStore. Can you verify it is working again for your scenario?

Mcpoowl commented 7 years ago

Works like a charm @ivosturm . Thanks for the quick fix!