[sugar] Trial-3 journal problem

Eben Eliason eben.eliason
Wed Sep 19 12:14:48 EDT 2007


Hi Bert -

I want to clarify this a bit to be sure I understand what's going on:

- Open activity instance A1
- Get implicit journal entry a1
- Press keep in A1, creating A2 and journal entry a2
- Close A2

(neither A1 or A2 are open, a1 and a2 are in Journal)

- Open journal entry a2 as activity A2
- Close A2
- Get implicit journal entry a2'

(We SHOULD have a1 and a2' in Journal, neither open)

Now, the problem as I read it is that the remaining Journal entries
are a2 and a2' instead of a1 and a2' as it should be.  Am I
understanding you correctly?

- Eben

On 9/19/07, Bert Freudenberg <bert at freudenbergs.de> wrote:
> Hi,
>
> for etoys we implemented the storing to the Journal as suggested,
> namely, on an explicit save (pressing keep button) we create a copy
> in the datastore, whereas when exiting, we update the existing entry.
> This is to workaround the missing versioning support.
>
> However, in testing we found a flaw in that scheme: When you resume
> an explicitly saved entry and then just exit the activity, it will do
> an implicit save and overwrite the saved one, resulting in losing the
> "good" copy.
>
> Is there any idea about how to work around this problem?
>
> - Bert -
>
>
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>



More information about the Sugar-devel mailing list