Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoration subtly backtracking broken #71

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment
Closed

Decoration subtly backtracking broken #71

GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

As reported by John Thornborrow in the thread: "[Seaside-dev] Issue with 
#removeDecoration:"

1. Click the button
2. Click 'back' button.
3. Click the button again
4. Click the button



Original issue reported on code.google.com by renggli on 29 May 2008 at 5:34

Attachments:

@GoogleCodeExporter
Copy link
Author

That is a side effect of the new backtracking system in Seaside 2.7 that only 
backtracks visible components. You can apply one of two changes to fix it.

The first and recommended is that you don't put components in instance 
variables of 
tasks instead instantiate them when you need them.

go
    self call: (WAFormDialog new
        addMessage: '1';
        yourself).
    self call: (WAFormDialog new
        addMessage: '2';
        yourself)

If that is not possible in your case you can

updateStates: aSnapshot
       super updateStates: aSnapshot.
       component1 visiblePresentersDo: [ :each | each updateStates: aSnapshot ].
       component2 visiblePresentersDo: [ :each | each updateStates: aSnapshot ]

Original comment by philippe...@gmail.com on 1 Jul 2008 at 5:30

  • Changed state: WontFix
  • Added labels: Version-Seaside2.9
  • Removed labels: ****

dalehenrich pushed a commit to dalehenrich/Seaside that referenced this issue Sep 7, 2015
dalehenrich added a commit to dalehenrich/Seaside that referenced this issue Sep 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant