Andy Allan wrote: > Well, I don't have steps to reproduce I think I'm starting to. This is _really_ weird.
Obviously this isn't the only way to trigger it, but try this: 1. Open a Potlatch 2 instance. Select a way. Select 'Advanced'. Delete some tags with the 'X' button. 2. In another tab - yes, really - open a page with another Flex SWF. I've found http://www.trynull.com/2010/02/11/programatically-select-a-datagrid-cell-in-flex/ works. 3. Go back to the P2 tab. Start selecting ways. It's stuck. The reason it's stuck is that (in TagGrid.mxml), somehow editedItemPosition has gained a value, despite no cell being edited. I put a "trace(outerDocument.editedItemPosition)" into line 53 of TagGrid.mxml. In normal operation, clicking 'X' would result in "null" in the Flash log; when it's stuck, it results in "[Object object]". You can unstick it, very simply, by selecting a cell for editing. That sets editedItemPosition again properly and all is well with the world. So we're triggering a Flex bug of some sort. It may, perhaps, have something to do with bEditedItemPositionChanged not being set to true somewhere in DataGrid.as. I wonder if there's any event on DataGrid that we can listen for and then nullify editedItemPosition manually when it fires... cheers Richard -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-OpenStreetMap-3587-potlatch2-advanced-tab-crash-tp6172959p6203607.html Sent from the Potlatch mailing list archive at Nabble.com. _______________________________________________ Potlatch-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/potlatch-dev
