[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] transaction freeze
|
Can you reproduce this problem using the Country Feature Editor? This is the only example of a feature editor in the code base and can be used to confirm the commit works correctly.
Jody
On 27/08/2010, at 9:55 PM, andrea antonello wrote:
> I have a problem with a transaction triggered from the form editor I
> am writing for shapefiles.
>
> What happens is that:
> - if I modify a value in the usual feature table and then commit,
> everything works as it should
> - if I modify with the form view, and the substitute and write the
> modified feature through:
>
> CompositeCommand compComm = new CompositeCommand();
> compComm.getCommands().add(EditCommandFactory.getInstance().createSetEditFeatureCommand(editedFeature));
> compComm.getCommands().add(EditCommandFactory.getInstance().createWriteEditFeatureCommand());
> context.getMap().sendCommandSync(compComm);
>
> Then, as soon as I push the commit button, the commit dialog opens and
> stays there forever. Gui is frozen and committ hangs somewhere. I am
> debugging through it and it seems to be in a nirvana inside the
> DefaultTransaction class.
>
> Anyone any idea about how to solve that or why it is happening?
>
> Ciao
> Andrea
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel