Hi nouk²
assigning a null property to an user or a channel result in a segfault.
We discussed about this issue with Anthony, we are going to add a
delProperty method and also make null property stop crash server. No ETA
for now.
Cheers.
Nouknouk wrote:
> up.
>
> Le 17/03/2010 00:14, nouknouk a écrit :
>> Hi,
>>
>> 1/ I'm facing a segfault as soon as I try to set a channel public
>> property to null:
>>
>> var chan = Ape.mkChan("myChan");
>> chan.setProperty("foo", null);
>>
>> 2/ If I do the same kind of stuff on a user object, I get the same
>> result (segfault):
>>
>> Ape.addEvent('adduser', function(user) {
>> user.setProperty("foo", null);
>> });
>>
>>
>> I found this issue while checking if there was any way to remove a
>> public property previously set on a channel. As far as I looked
>> around, there seem to be a del_property() function in 'extend.h', but
>> I found no binding in 'libape-spidermonkey.c'.
>>
>> Maybe it would be a good idea to add a 'delProperty' function in SSJS
>> bindings ?
>>
>>
>> Regards,
>>
>> Nouk²
>>
>>
>>
>>
>>
>>
>>
>
--
Nicolas Trani - Web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
Tel: 04 67 169 778 - Fax: 09 57 91 99 91
http://www.weelya.com
http://www.ape-project.org
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
To unsubscribe from this group, send email to
ape-project+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.