Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] deletion bug in uDig1.2-RC3

I am very focused on getting the release out; so if the issue is not showing up in the application then I am not sure how to help.
The lines I highlighted look very suspicious to me; and I am not sure why they would ever be needed.

Jody

> I tried to debug, but the problem showed up before the code reaches
> the breakpoint..
> I'll try to debug in some other point, but really I trying,  I have no
> specific idea about what to do.
> 
> Anyway, I'll let you know. I you may try to go in parallel with me,
> maybe we will reach a solution in a shorter time..
> 
> Cheers,
> Ivano

On 02/08/2010, at 11:53 PM, Ivano Malavolta wrote:

> It is exactly what I am trying to do now :)
> I will tell you what I will get :)
> 
> Ivano
> 
>> So no real idea; if I remember your description you are having trouble adding a layer
>> again. I don't see any logic in the New Layer action.
>> 
>> Let us try in ApplicationGIS. The method addLayersToMap has the following:
>> 
>>      /*
>>       * Check or not for duplicate layers in context of the map where georesources are > added.
>>       */
>>      List<IGeoResource> cleanedGeoResources;
>> 
>> if(ProjectPlugin.getPlugin().getPluginPreferences().getBoolean(PreferenceConstants.P_C> HECK_DUPLICATE_LAYERS)){
>>          cleanedGeoResources = ProjectUtil.cleanDuplicateGeoResources(resourceList, >map);
>>      }else{
>>          cleanedGeoResources = resourceList;
>>      }
>> 
>> I would put a break point there and see what is going one; not sure I understand why  > the check is there.
>> 
>> Jody
> 
> -- 
> *****************************************************
>  Ivano Malavolta
>  PhD Student in Computer Science
>  tel: +390862433734  skype: iivanoo
>  University of L'Aquila
>  Department of Computer Science
>  Via Vetoio - 67010 (AQ) - Italy
> 
> *****************************************************
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top