Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 2.2.1, 2.3.M0
-
Component/s: arcsde plugin
-
Labels:None
Description
Suppose one had an attribute "OBJECTID" on one's arcsde table, and that arcsde was using OBJECTID as an sde-managed rowid column.
When querying this featurecollection for all attributes on each feature, you'll be missing the OBJECTID attribute on your returned feature. It's value will be stuck in the "fid" field, but it'll still be missing from the attribute list on each returned feature.
This causes schema invalidity and some funkiness in geoserver. Attached (one-line) patch fixes this issue by having the featureIdField appear both in the fid field and in the list of output attributes.
Patches for 2.2.x, 2.3.x and trunk (2.4.x) attached.
What do you mean by causing schema invalidity?
Also, if you could take an hour, would you be so kind of taking a look at the stuff in the geotools complex-features branch that allows arcsde plugin to have different fid strategies based on how the table is settled up? I would very like your impression about that, since I'm planning to port it to trunk on my vacation week next month