Andrea Aime wrote: > Hi, > I was doing a "feature type structure" panel for the > vector data configuration and noticed how AttributeTypeInfo.getAttribute > returns a null descriptor (for already configured types). > > Hum, this was unexpected. I worked around by going thru the FeatureType > exposed by FeatureTypeInfo, but this appears to be a band-aid. > > Ideas? Is this just a bug, or I'm missing something? Given the > structure of the method and the fact it throws an IOException > I guess it was designed to go down to the ResourcePool to > fetch the FeatureType and then the actual property descriptor? Hmmm... looking at 1.7.x and trunk I see some differences with AttributeTypeInfo. 1.7.x does not throw the IO exception. In both cases the way it is is implemented the underlying gt attribute descriptor is just a transient property. So... I guess we could make it call out to ResourcePool and get the actual descriptor. We would need to tweak the implementation to hang out to the FeatureTypeInfo it is a part of.
So yeah, I would say a bug. > > Cheers > Andrea > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Geoserver-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-devel -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
