Hi Torben:
Ben was our usual contact for app schema stuff. Perhaps we can step through
the same test with the original property datastore implementation and see
how it was working (I won't claim to know how it was supposed to work).
Jody
--
Jody Garnett
On 8 January 2015 at 15:51, Torben Barsballe <tbarsba...@boundlessgeo.com>
wrote:
> While migrating the new property-ng implementation to be used by geotools,
> I ran into a new test failure in gt-app-schema
>
> On line 133
> <https://github.com/geotools/geotools/blob/master/modules/extension/app-schema/app-schema/src/test/java/org/geotools/data/complex/PolymorphicChainingTest.java#L113>
> of PolymorphicChainingTest, the test fails. I have tracked the issue down
> to the artifactSource mapping, which only contains the
> PropertyFeatureSource corresponding to the Artifact featuteType, so that
> when it goes to read through the FeatureSource, it only finds Artifact
> features, not the StringAttribute it is looking for. This appears to occur
> because the artifactSource is passed in the Artifact feature type when it
> is created.
>
> I am curious how this test was supposed to work? I assume it was intended
> to get all of the features, not just the one type?
>
> I have verified that all the expected feature source mappings (Artifact,
> GeoAttribute, StringAttribute, NumberAttribute) are contained in the
> AppSchemaDataAccess class at runtime.
>
> Torben Barsballe
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel