Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2243 closed defect (fixed)

Icons are not generated for HTML legends

Reported by: jparapar Owned by: dmorissette
Priority: normal Milestone: 5.0 release
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc: dmorissette@…

Description

I have found a bug with HTML legends in MapServer 5 beta 4. The icons of the legend are not created correctly. They consist in empty (white) rectangles. Also, in the names of the files of the icons there are suspect underscores before the dot (like legend proyecto_664_1187363770_0_0_20_10_.gif) which where not present in previous verisons (proyecto_664_1187363770_0_0_20_10.gif). In beta 3 this works well. I attach a test case test.zip.

Test request: http://localhost/cgi-bin/mapserv?map=/tmp/test/test.map&mode=legend&layers=rivers&mapext=458350+4613016+704030+4858696&mapsize=350+350&map_imagetype=gif

Thanks.

Jorge

Attachments (1)

test.zip (1003 bytes ) - added by jparapar 17 years ago.

Download all attachments as: .zip

Change History (4)

by jparapar, 17 years ago

Attachment: test.zip added

comment:1 by dmorissette, 17 years ago

Owner: changed from sdlime to dmorissette

This may be a side-effect of the changes made in r6491 to fix ticket #745.

Note that the suspect underscores are expected with r6491 and are not a problem.

I'll check with your test.zip...

comment:2 by dmorissette, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in r6618.

The problem had been introduced in r6583... the test to check whether the requested class existed was backwards.

comment:3 by jparapar, 17 years ago

OK. Thanks Daniel.

Note: See TracTickets for help on using tickets.