Re: [Server-devel] consequences of re-registering with XS
On Tue, Feb 17, 2009 at 10:01 AM, Daniel Drake wrote: > I've come short of a nice patch (too many pressures at the moment, > sorry) but I have shared our hack here: > http://dev.sugarlabs.org/ticket/362 Looks reasonable... and hackish :-) Registration sets both backup server and jabber server. Once backup server is cleared, I assume that a new registration attempt will set _both_ without choking or throwing exceptions... if not, then it'd be a good idea to remove both. In fact, it might be a good idea anyway: once you've de-registered, as a user my expectation would be that it does _not_ try to connect to the jabber server set at registration time. That registration sets 2 values is an internal detail, as a user, both values should be unset together... cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] consequences of re-registering with XS
2009/2/14 Martin Langhoff : > On Fri, Feb 13, 2009 at 2:25 AM, Daniel Drake wrote: >> To avoid this situation in future (should we ever run into it again, >> fingers crossed we won't), we are considering a small modification to >> the paraguay OS build which makes the "Discard network history" button >> also clear the XS registration information (by deleting the >> server.backup1 line from sugar config). This code modification can be >> done with a single sed call, since there is already an unused sugar >> function to clear registration info. > > And if you post it as a nice patch, I'll push for it to be folded into > Sugar. It's been on my Sugar wishlist for a while... I've come short of a nice patch (too many pressures at the moment, sorry) but I have shared our hack here: http://dev.sugarlabs.org/ticket/362 > Nope. If an XO forgets it's registered and registers again, nothing > bad happens. The XS welcomes back the long lost son, no prickly > questions asked. Excellent, thanks for the clarification. Daniel ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel