You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2010/09/07 18:14:34 UTC

[jira] Created: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

there's something wrong with wicket's BaseTree (or with ajax support)
---------------------------------------------------------------------

                 Key: WICKET-3035
                 URL: https://issues.apache.org/jira/browse/WICKET-3035
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M1
            Reporter: Peter Ertl


try this:

$ cd wicket-1.5.x/wicket-examples
$ mvn jetty:run

point your browser to localhost:8080/

click 'ajax'
click 'Tree and TreeTable'

 --> url = http://localhost:8080/wicket-examples/ajax/tree/simple

do this in given order:

click 'expand all' : works
click 'collapse all' : nothing happens at all
click on 'rootless mode' : works
click on 'rootless mode' : nothing happens at all
click on 'collapse all' : nothing happens at all

and so on ....



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl reopened WICKET-3035:
--------------------------------


> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>             Fix For: 1.5-M2
>
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl reassigned WICKET-3035:
----------------------------------

    Assignee: Peter Ertl

> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl closed WICKET-3035.
------------------------------


> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>             Fix For: 1.5-M2
>
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907063#action_12907063 ] 

Hudson commented on WICKET-3035:
--------------------------------

Integrated in Apache Wicket 1.5.x #309 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/309/])
    WICKET-3035: AjaxRequestTarget can be not only invoked from AbstractDefaultAjaxBehavior but also directly from RequestHandlerStack (and others). The testing for ajax requests in ListenerInterfaceRequestHandler did not work for test cases. some cleanup.


> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>             Fix For: 1.5-M2
>
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl resolved WICKET-3035.
--------------------------------

    Fix Version/s: 1.5-M2
       Resolution: Fixed

fixed with #993513

> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>             Fix For: 1.5-M2
>
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906858#action_12906858 ] 

Peter Ertl commented on WICKET-3035:
------------------------------------

After some investigation I found out that BaseTree writes out the correct 

  org.apache.wicket.markup.html.tree.DefaultTreeState

but on the next request the state is not always updated. Deserialization is eventually picking an old page version (if I named that beast correctly).

Inspect the tree state in the debugger to see for yourself

> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl resolved WICKET-3035.
--------------------------------

    Resolution: Fixed

> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>             Fix For: 1.5-M2
>
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906955#action_12906955 ] 

Peter Ertl commented on WICKET-3035:
------------------------------------

the reason for the misbehavior was that during ajax responses incrementing page ids was not disallowed. So actually Page#componentRemoved(Component) was called which marked the page as dirty and finally incremented the page id 

> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>             Fix For: 1.5-M2
>
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3035) there's something wrong with wicket's BaseTree (or with ajax support)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906972#action_12906972 ] 

Hudson commented on WICKET-3035:
--------------------------------

Integrated in Apache Wicket 1.5.x #306 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/306/])
    WICKET-3035: there's always a better place for things. also some cleanup and return previous state on page id freezing to support resetting the flag to previous state. fixed tests, too
WICKET-3035: do not increment page id when sending ajax responses


> there's something wrong with wicket's BaseTree (or with ajax support)
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3035
>                 URL: https://issues.apache.org/jira/browse/WICKET-3035
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Peter Ertl
>            Assignee: Peter Ertl
>             Fix For: 1.5-M2
>
>
> try this:
> $ cd wicket-1.5.x/wicket-examples
> $ mvn jetty:run
> point your browser to localhost:8080/
> click 'ajax'
> click 'Tree and TreeTable'
>  --> url = http://localhost:8080/wicket-examples/ajax/tree/simple
> do this in given order:
> click 'expand all' : works
> click 'collapse all' : nothing happens at all
> click on 'rootless mode' : works
> click on 'rootless mode' : nothing happens at all
> click on 'collapse all' : nothing happens at all
> and so on ....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.