Steve, you are absolutely right, according to #2689 i tried commenting
out the msLayerWhichItems (layer.i) prior to msLayerWhichShapes in
the 5.4 release. The item setup is thus maintained.
While i'm afraid to mess with maplayer.c and maybe this will sound silly
,i observed that within
What does your layer definition look like? Probably stems from the fix
put in
place for ticket #2689 (http://trac.osgeo.org/mapserver/ticket/2689).
That fix
may need more work as I imagine the msLayerWhichItems() is clobbering
the
item setup done when the layer is opened.
Hmmm, how to fix...