Ticket #3317 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

template error replacing shpxy

Reported by: regodon Owned by: sdlime
Priority: low Milestone:
Component: MapServer CGI Version: 5.2
Severity: minor Keywords:
Cc:

Description

I'm trying to generate an imagemap with this template:

<area shape="circle" coords="[shpxy precision=0 proj=image yf=",7" xf=","]" href="?buffer=[buffer]&mode=nquery&map=[map]&mapxy=[shpxy precision=5 xf=" "]&scaledenom=[scaledenom]&qlayer=[qlayer]&searchmap=true&parque=[parque]" title="[parque]" alt="[parque]">

mapserver fails. The problem resides in using shpxy twice on the same line. If you broke the line in two:

<area shape="circle" coords="[shpxy precision=0 proj=image yf=",7" xf=","]" 

href="?buffer=[buffer]&mode=nquery&map=[map]&mapxy=[shpxy precision=5 xf=" "]&scaledenom=[scaledenom]&qlayer=[qlayer]&searchmap=true&parque=[parque]" title="[parque]" alt="[parque]">

Template is parsed correctly and a valid imagemap is generated.

Change History

Changed 3 years ago by sdlime

  • status changed from new to closed
  • resolution set to wontfix

This was fixed in 5.4 and higher and I'm not really inclined to go back to 5.2 at this point. So, it's a valid but I'm marking as WONTFIX...

Steve

Note: See TracTickets for help on using tickets.