Opened 11 years ago
Closed 11 years ago
#604 closed defect (invalid)
selectionLayer.getPropertyNames() not finding last property enabled in layer
Reported by: | cgountanis | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Widgets | Version: | SVN |
Severity: | Major | Keywords: | MapGuide 2.6 |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description
selectionLayer.getPropertyNames() not finding last property selected in layer.
Replicate: Uncheck all properties on layer (visible in viewer). Hit save. Run selection and selectionLayer.getPropertyNames() = null. This is good. Check just one property, hit save. Run selection and getPropertyNames is still null. Select a second property visible and hit save. Run selection, you only get the first property shown.
It is like the last property you add you make is skipped when using the Fusion API getPropertyNames() function.
This directly affects the selection widget so it's not that hard to test. Just use the parcel layer in Sheboygan and only enable one visible property.
Visual: http://i.imgur.com/SBV1LpT.png
This is the WinForms grid component in Maestro deceiving you.
If a row has a pencil icon, the row has been edited but the change does not apply until you un-focus that particular row.
So from MapGuide/Maestro's perspective you haven't actually made any changes to the layer (it still sees one property checked). You can doubly verify this by seeing if the editor tab has a "*" next to it, and the "View Changes" toolbar button is enabled. If you don't see either of those things, then nothing has actually been modified.