Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/08/2014
Components: AJAX, UI Components
Versions: 11.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / Some users will encounter
Locale/System: ALL / Win All
Vote Count: 1
CF hardcodes /CFIDE in script src path to mapiconmaker.js. This breaks some map functionality when implementing the Lockdown Guide.
Steps to Reproduce:
(this example shows that zoom-to-show-user becomes broken)
1) Per lockdown guide, remove /CFIDE
2) In CF Admin, set "Default ScriptSrc Directory" to /foobar/
3) Run this code (and allow browser to access your location):
<cfmap centeraddress="Newton, Massachusetts" zoomlevel="15">
<cfmapitem address="Newton, Massachusetts" showuser="yes">
</cfmap>
4) See map does not zoom-to-show-user (bad) (it shows Newton, Massachusetts but does not show your location).
5) View browser source
Expected result: <script type="text/javascript" src="/foobar/scripts/ajax/ext/map/mapiconmaker.js"></script>
Actual result: <script type="text/javascript" src="/CFIDE/scripts/ajax/ext/map/mapiconmaker.js"></script>
6) Run this code (and allow browser to access your location):
<script type="text/javascript" src="/foobar/ajax/ext/map/mapiconmaker.js"></script>
<cfmap centeraddress="Newton, Massachusetts" zoomlevel="15">
<cfmapitem address="Newton, Massachusetts" showuser="yes">
</cfmap>
7) See map does zoom-to-show-user (good!) (it shows Newton, Massachusetts AND shows your location).
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3757675
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: