You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuration contains publicPath and poi_hub_origin URL for poi_list is based on publicPath which is inconsistent with documentation [1].
How to reproduce:
Create configuration with publicPath with different URL than hub_origin. Oil will try to fetch POI List from __OIL_PUBLIC_PATH__ + 'poi-lists/' + groupName + '.json'[2]
How it should work:
POI List should be fetched from __POI_HUB_PATH__+'poi_lists/' + groupName + '.json'
This problem is fixed with pull request #252. The poi-lists directory is based on poi_hub_origin now (but not on poi_hub_path - this points to an HTML file).
We plan to add this fix to our next OIL release.
When configuration contains
publicPath
andpoi_hub_origin
URL for poi_list is based onpublicPath
which is inconsistent with documentation [1].How to reproduce:
Create configuration with publicPath with different URL than hub_origin. Oil will try to fetch POI List from
__OIL_PUBLIC_PATH__ + 'poi-lists/' + groupName + '.json'
[2]How it should work:
POI List should be fetched from
__POI_HUB_PATH__+'poi_lists/' + groupName + '.json'
[1] http://oil.axelspringer.com/docs/#poi-power-opt-in
[2]
oil/src/scripts/poi-list/poi.group.list.js
Line 19 in f40467c
The text was updated successfully, but these errors were encountered: