[Opensim-dev] JsonStore questions - return values of JsonDestroyStore(), JsonRemoveValue() and behaviour of JsonReadNotecard()

Mic Bowman cmickeyb at gmail.com
Fri Feb 8 17:32:22 UTC 2013


Comments below...

On Thu, Feb 7, 2013 at 6:45 PM, Justin Clark-Casey <jjustincc at googlemail.com
> wrote:

> Hi Mic.  A couple of JsonStore related questions
>
> * Both JsonDestroyStore() and JsonRemoveValue() return TRUE if the
> store/values they are removing do not exist.  This is inconsistent with
> .NET methods such as ICollection.Remove() which return false if the value
> one tried to remove did not exist.
>
> This is a pretty minor case and perhaps it's not worth changing if you (or
> others) already have scripts which rely on this behaviour.  What do you
> think?
>
>
That should be easy. I don't think I intended to return anything but there
are no "void" returns.


> * In my regression testing, I found some behaviour with JsonReadNotecard()
> that I did not expect surrounding loading to multi-component paths where
> some or all of the tail components did not exist and loading to the invalid
> location ("/") I put this information in Mantis 6535 [1] if you could
> comment.  It could just be me making mistakes late at night.
>
> [1] http://opensimulator.org/**mantis/view.php?id=6535<http://opensimulator.org/mantis/view.php?id=6535>
>
>
Will respond in the mantis entry.



> --
> Justin Clark-Casey (justincc)
> OSVW Consulting
> http://justincc.org
> http://twitter.com/justincc
> ______________________________**_________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/**mailman/listinfo/opensim-dev<https://lists.berlios.de/mailman/listinfo/opensim-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20130208/77f7fa0d/attachment-0001.html>


More information about the Opensim-dev mailing list