Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
12082Bug reportsSurvey takingpublic2019-04-30 09:10
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.62.x 
Fixed in Version3.16.x 
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.
Attached Files
Bug heat12
Complete LimeSurvey version number (& build)170125
I will donate to the project if issue is resolvedNo
BrowserFF50
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

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

Activities

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

administrator   ~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/

DenisChenu

DenisChenu

2019-04-01 12:01

developer   ~51240

Fixed since secure can be used with free account now …
Still a good idea for usage of Nominatim or other system : Question theme issue in my opinion

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
2019-04-01 12:01 DenisChenu Assigned To markusfluer => DenisChenu
2019-04-01 12:01 DenisChenu Status acknowledged => resolved
2019-04-01 12:01 DenisChenu Resolution open => fixed
2019-04-01 12:01 DenisChenu Fixed in Version => 3.16.x
2019-04-01 12:01 DenisChenu Note Added: 51240
2019-04-30 09:10 c_schmitz Status resolved => closed