[Sugar-devel] Stateless activties (was Re: Fw: #3013 UNSP: toolbar error)

Sebastian Silva sebastian at somosazucar.org
Thu Aug 4 01:27:09 EDT 2011


Hi,
I just tried Log activity, it does create a Journal entry by default.
I'm following this issue at http://dev.laptop.org.au/issues/823 
<https://dev.laptop.org.au/issues/823>
This is related to Sugar not directly supporting stateless activities (I 
think).

I also remember reading in olpc-uruguay that the workaround that James 
describes doesnt work everywhere.
So I wonder, is the workaround described in the book supported? Can 
activity developers do stateless activities?

If not, James, one option for Sugar Commander is to let create a journal 
entry that saves state data like the current directory.
At the moment I don't have an XO or a Sugar 0.84 environment where I can 
test. Another option would be to try and fix the workaround ;-)

Sebastian

El 04/08/11 03:40, James Cameron escribió:
> Yes, I saw something like that when trying to relate "Make Your Own
> Sugar Activities!" to the Log activity in the past few months.
>
> But I don't recall the details.
>
> Looking at the Log activity source might help.  At the time I was
> changing it to not create a Journal entry automatically, yet create one
> if asked.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110804/4f7ae05f/attachment.html>


More information about the Sugar-devel mailing list