Ticket #6 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Missing flag icons are displayed as broken images

Reported by: weppos Owned by:
Priority: high Milestone: 2.1.5
Component: Interface Version: 2.1.3
Severity: normal Keywords:
Cc:

Description

Actually the following code is used to display an image

&lt;img src="images/flags/<%= objAsgRs2("Country2") %>.png" border="0" 
align="absmiddle" /&gt;

In a rare case flag collection may be missing requested flag. This such of logic isn't able to check whether the flag exists before displaying it.

It's recommended to create a new printFlagIcon() (and perhaps a getFlagIcon()) to get flag icon and decorate it with an image tag.

http://forums.weppos.com/showthread.php?t=1646

Change History

Changed 2 years ago by weppos

  • priority changed from normal to high

Changed 2 years ago by weppos

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

in r113, merged in r114

Note: See TracTickets for help on using tickets.