[mapguide-users] MG 1.2 vs 2.0.1

gmclean at gorge.net gmclean at gorge.net
Mon Aug 4 08:50:29 EDT 2008


Thanks for the clarification Zac. I was seeing exceptions inconsistenly (it least that is how it 
appeared!).

I hope to get a simple example put together that will allow a developer to replicate the issue but I 
have not had a chance yet. 

George


------- Original Message -------
>From    : Zac Spitzer[mailto:zac.spitzer at gmail.com]
Sent    : 8/4/2008 2:28:31 AM
To      : mapguide-users at lists.osgeo.org
Cc      : 
Subject : RE: Re: [mapguide-users] MG 1.2 vs 2.0.1

 George,

Sorry to clarify my last answer, accessing the result has no effect on
the operation, but
UpdateFeatures doesn't throw an exception which means you may be
getting a MySQL error
without realising it..

The API docs could do with some fleshing out in this area

z


On Fri, Aug 1, 2008 at 11:05 AM, Zac Spitzer <zac.spitzer at gmail.com> wrote:
> yep...it does fail silently, which is really annoying.. it should just
> raise an exception
>
> On Fri, Aug 1, 2008 at 4:16 AM, George McLean <gmclean at gorge.net> wrote:
>> No I am not. Does this ignore the error message and process the update
>> somehow?
>>
>> Zac Spitzer wrote:
>>>
>>> Are you checking the result as bellow
>>>
>>> result=featureService.UpdateFeatures(resourceID, fCommand, false);
>>>
>>> if (result.GetItem(0).GetPropertyType() eq 9)
>>>    result.GetItem(0).GetValue() // Silent FDO error messages!!!!
>>>
>>> z
>>>
>>>
>>> On Fri, Aug 1, 2008 at 2:14 AM, Zac Spitzer <zac.spitzer at gmail.com> wrote:
>>>
>>>>
>>>> can you post some code to demonstrate the problem?
>>>>
>>>> On Fri, Aug 1, 2008 at 2:05 AM, George McLean <gmclean at gorge.net> wrote:
>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> I am a bit stuck in upgrading to 2.0.1 mainly due to the issues with
>>>>> adding
>>>>> data to feature sources discussed in this thread:
>>>>>
>>>>>
>>>>>  http://www.nabble.com/Please-try-your-operation-later-as-the-resource-was-busy-
to16392736.html#a18556960 
>>>>>
>>>>> My immediate issue is that I have a client that would really like to us
>>>>> FF
>>>>> 3.0 with my application. I see that either I need to find a way to apply
>>>>> the
>>>>> fixes made in 2.0 for FF to 1.2 or find a way around the issues with
>>>>> updating feature data.
>>>>>
>>>>> I could look at the code for MG 1.2 and apply the changes made to 2.0
>>>>> with
>>>>> some guidance on where to start but I think I would rather find a fix
>>>>> for MG
>>>>> 2.0.
>>>>>
>>>>> Any suggestions would be appreciated.
>>>>>
>>>>> Thanks
>>>>>
>>>>> George McLean
>>>>> _______________________________________________
>>>>> mapguide-users mailing list
>>>>> mapguide-users at lists.osgeo.org
>>>>>  http://lists.osgeo.org/mailman/listinfo/mapguide-users 
>>>>>
>>>>>
>>>>
>>>> --
>>>> Zac Spitzer -
>>>>  http://zacster.blogspot.com  (My Blog)
>>>> +61 405 847 168
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>>  http://lists.osgeo.org/mailman/listinfo/mapguide-users 
>>
>
>
>
> --
> Zac Spitzer -
>  http://zacster.blogspot.com  (My Blog)
> +61 405 847 168
>



-- 
Zac Spitzer -
 http://zacster.blogspot.com  (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users 




More information about the mapguide-users mailing list