I'm trying to get back into Potlatch2 development for our OSM-based project at the USGS. Unfortunately, my time is so fragmented that I spend months without touching it and then have to jump back in... I got everything setup to build Potlatch2 on my Ubuntu 11.04 64-bit system. Built the .swf and set it up to connect to the USGS server. When I try to add a node using drag-and-drop, the add fails. The Flash debugger reports:<div>
<br></div><div><div>TypeError: Error #1010: A term is undefined and has no properties.</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>at mx.controls.listClasses::ListBase/setSelectionDataLoop()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:6473]</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>at mx.controls.listClasses::ListBase/commitSelectedItems()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:6364]</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>at mx.controls.listClasses::ListBase/commitSelectedItem()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:6329]</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>at mx.controls.listClasses::ListBase/set selectedItem()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:2904]</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>at potlatch2/dragDropHandler()[/opt/p2/potlatch2.mxml:496]</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>at potlatch2/__map_area_dragDrop()[/opt/p2/potlatch2.mxml:70]</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>at flash.events::EventDispatcher/dispatchEventFunction()</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>at flash.events::EventDispatcher/dispatchEvent()</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9440]</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>at mx.managers.dragClasses::DragProxy/_dispatchDragEvent()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:349]</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>at mx.managers.dragClasses::DragProxy/mouseUpHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:584]</div>
<div><br></div><div>I haven't touched the code yet. I did the git clone yesterday (31 August). Anybody have a clue?</div><div><br></div><div>-Eric</div><div><br></div><div>P.S. See you in Denver next week!</div><div><br>
</div>-=--=---=----=----=---=--=-=--=---=----=---=--=-=-<br>Eric B. Wolf                           720-334-7734<br><br><br><br>
</div>