[Potlatch-dev] [OpenStreetMap] #4278: landuse=recreation_ground appears in Potlatch2 with a solid green background

OpenStreetMap trac at openstreetmap.org
Wed Mar 7 21:04:06 GMT 2012


#4278: landuse=recreation_ground appears in Potlatch2 with a solid green
background
--------------------------+-------------------------------------------------
  Reporter:  SomeoneElse  |       Owner:  potlatch-dev@…                
      Type:  defect       |      Status:  closed                        
  Priority:  minor        |   Milestone:                                
 Component:  potlatch2    |     Version:                                
Resolution:  fixed        |    Keywords:                                
--------------------------+-------------------------------------------------
Changes (by Richard):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Fixed in
 https://github.com/systemed/potlatch2/commit/4e72cd67a534fbdff55d941c421531d8f2776b88
 , hopefully live soon.

 FWIW the problem was
 https://github.com/systemed/potlatch2/commit/0282edd0af03b94ea0e86641de16543d85dacdcc
 - running "!=undefined" against a Number (line 59) doesn't work, you need
 to use isNaN instead. It works in the CSSCOLORS[colorStr] case because
 Object values aren't explicitly typed in AS3.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4278#comment:2>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Potlatch-dev mailing list