View Issue Details

IDProjectCategoryView StatusLast Update
12082Bug reports[All Projects] Survey takingpublic2018-08-07 10:45
ReporterDenisChenuAssigned Tomarkusfluer 
PrioritynoneSeverityminor 
Status acknowledgedResolutionopen 
Product Version2.62.x 
Target VersionFixed in Version 
Summary12082: SSL and map question type with leaflet
Description

In Question type map with leaflet with use geoname API for "quick search". But this didn't work with SSL activated

Steps To Reproduce

Import included survey , look at your console and do a search.
Or test here : http://testing.sondages.pro/masterall/survey/index/sid/35666/newtest/Y/lang/fr

Additional Information

Quicly fixed in 3.0 : https://github.com/LimeSurvey/LimeSurvey/commit/7d77b4a3bf5e641318db2357c4a5954620f6f43b#diff-ab8ee4f21b287657bf9762e76436332aR225 : i remove the search box ;)

Then in send an email to geoname : here the answer:

<quote>
The api.geonames.org domain is only used for the free services. The premium services have customized domain names, depending on the plan and the selected options. Hard coding it will lead to troubles.
One of the domains for the premium services over ssl is:
secure.geonames.net
This will work, but will not necessarily take custom setting into account (geographic location of the server etc)
</quote>

TagsNo tags attached.
Complete LimeSurvey version number (& build)170125
I will donate to the project if issue is resolvedNo
BrowserFF50
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

has duplicate 13873 assignedmarkusfluer When using the short free text with map, the search box doesn't show for users 

Activities

DenisChenu

DenisChenu

2017-01-25 16:00

developer  

Capture du 2017-01-25 15-53-41.png (223,472 bytes)
DenisChenu

DenisChenu

2017-01-25 16:10

developer  

limesurvey_survey_carto.lss (17,348 bytes)
DenisChenu

DenisChenu

2017-01-25 16:15

developer   ~42837

Quickest solution : adding a config for 'geoname api'. We can not use secure api : secure.geonames.net because we are unsure user get a secure account.

Alternative (but : really no time for this) use another API : some example : https://wiki.openstreetmap.org/wiki/Nominatim_usage_policy#Alternatives_.2F_Third-party_providers

markusfluer

markusfluer

2018-07-09 14:45

manager   ~48478

We will postpone this, or give the possibility to define oneselves endpoints

DenisChenu

DenisChenu

2018-07-26 13:38

developer   ~48582

My point of view : Best solution : move the 2 maps question to new question template … then another dev can create a new question template using Nominatim/

Issue History

Date Modified Username Field Change
2017-01-25 16:00 DenisChenu New Issue
2017-01-25 16:00 DenisChenu File Added: Capture du 2017-01-25 15-53-41.png
2017-01-25 16:10 DenisChenu File Added: limesurvey_survey_carto.lss
2017-01-25 16:15 DenisChenu Note Added: 42837
2018-05-23 12:23 LouisGac Assigned To => markusfluer
2018-05-23 12:23 LouisGac Status new => assigned
2018-07-09 14:45 markusfluer Note Added: 48478
2018-07-11 17:33 markusfluer Status assigned => acknowledged
2018-07-26 13:38 DenisChenu Note Added: 48582
2018-08-07 10:45 markusfluer Relationship added has duplicate 13873