collective / collective.geolocationbehavior

Dexterity based behaviors for geotagging.
2 stars 2 forks source link

No map displayed #1

Open davilima6 opened 8 years ago

davilima6 commented 8 years ago

I tried the thet-cleanup branch in a coredev buildout, also getting plone.formwidget.geolocation and plone.patternslib from their respective latest branches, respectively thet-plone5 and master.

I stopped seeing the map after leaftlet was implemented. Is there any direction I'm missing? /cc @thet

image

The TinyMCE errors seem unrelated. In default view, they do not appear (i.e. possibly breaking the pattern).

woolyseal commented 7 years ago

I encounterd the same Problem without any evidence of failure in my Firebug. Any suggestions? Versions: Plone = 5.0.6rc1 Plone Patternslib = 1.0 collective.geolocationbehavior = 1.5.1

thet commented 7 years ago

Not sure about that ... Maybe the leaflet bundle from plone.patternslib - installed via plone.formwidget.geolocationbehavior - is missing or not compiled?

woolyseal commented 7 years ago

I installed "collective.venue [geolocation]" and tried it out, afterwards the behavior worked to. Don't exactly know why, because everything was on board and compiled before, too.

woolyseal commented 7 years ago

So. I deinstalled "collective.venue [geolocation]" and made a set back of in my versions.cfg from plone.registry >= 1.0.4 to plone.registry = 1.0.4

Now the map won't show. Are there depencies with the registry, which are not mentioned in the setup.py?

thet commented 7 years ago

I could imagine, that this change makes a difference. Although collective.venue already worked for me in different contexts and Plone 4.x.

https://github.com/plone/plone.registry/blob/master/CHANGES.rst#110-2016-07-05

I recommend to use the latest available Plone 5.1 release as a basis, though. It's much better. http://dist.plone.org/release/5.1-latest/