You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Carlos Pita (JIRA)" <ji...@apache.org> on 2007/09/13 01:02:32 UTC

[jira] Created: (WICKET-965) Link doesn't work when there is an inlineframe in source page and a page hierarchy involved

Link doesn't work when there is an inlineframe in source page and a page hierarchy involved
-------------------------------------------------------------------------------------------

                 Key: WICKET-965
                 URL: https://issues.apache.org/jira/browse/WICKET-965
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta3
            Reporter: Carlos Pita
             Fix For: 1.3.0-beta4


I track down this problem until I get the minimal example that is attached. You can see that following the link from page1 to page2 the exception below is thrown:

WicketMessage: Markup of type 'html' for component 'web.framelink.Page2' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried:
[Page class = web.framelink.Page2, id = 8, version = 0]

Root cause:

org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance of web.framelink.Page2, but is a web.framelink.BasePage
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)

This doesn't happen if you remove the iframe from the hierarchy.

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


[jira] Updated: (WICKET-965) ReloadingWicketFilter gives ClassCastException with page hierarchy involved

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

Jean-Baptiste Quenot updated WICKET-965:
----------------------------------------

    Summary: ReloadingWicketFilter gives ClassCastException with page hierarchy involved  (was: Link doesn't work when there is an inlineframe in source page and a page hierarchy involved)

> ReloadingWicketFilter gives ClassCastException with page hierarchy involved
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-965
>                 URL: https://issues.apache.org/jira/browse/WICKET-965
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: Carlos Pita
>            Assignee: Jean-Baptiste Quenot
>             Fix For: 1.3.0-beta4
>
>         Attachments: framelink.tgz
>
>
> I track down this problem until I get the minimal example that is attached. You can see that following the link from page1 to page2 the exception below is thrown:
> WicketMessage: Markup of type 'html' for component 'web.framelink.Page2' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried:
> [Page class = web.framelink.Page2, id = 8, version = 0]
> Root cause:
> org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance of web.framelink.Page2, but is a web.framelink.BasePage
> at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
> This doesn't happen if you remove the iframe from the hierarchy.

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


[jira] Resolved: (WICKET-965) ReloadingWicketFilter gives ClassCastException with page hierarchy involved

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

Jean-Baptiste Quenot resolved WICKET-965.
-----------------------------------------

    Resolution: Duplicate

Please reopen if the problem is not solved by clearing your session cookie.

> ReloadingWicketFilter gives ClassCastException with page hierarchy involved
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-965
>                 URL: https://issues.apache.org/jira/browse/WICKET-965
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: Carlos Pita
>            Assignee: Jean-Baptiste Quenot
>             Fix For: 1.3.0-beta4
>
>         Attachments: framelink.tgz
>
>
> I track down this problem until I get the minimal example that is attached. You can see that following the link from page1 to page2 the exception below is thrown:
> WicketMessage: Markup of type 'html' for component 'web.framelink.Page2' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried:
> [Page class = web.framelink.Page2, id = 8, version = 0]
> Root cause:
> org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance of web.framelink.Page2, but is a web.framelink.BasePage
> at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
> This doesn't happen if you remove the iframe from the hierarchy.

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


[jira] Commented: (WICKET-965) Link doesn't work when there is an inlineframe in source page and a page hierarchy involved

Posted by "Carlos Pita (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527183 ] 

Carlos Pita commented on WICKET-965:
------------------------------------

It only happens when using the ReloadingWicketServlet.

> Link doesn't work when there is an inlineframe in source page and a page hierarchy involved
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-965
>                 URL: https://issues.apache.org/jira/browse/WICKET-965
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: Carlos Pita
>             Fix For: 1.3.0-beta4
>
>         Attachments: framelink.tgz
>
>
> I track down this problem until I get the minimal example that is attached. You can see that following the link from page1 to page2 the exception below is thrown:
> WicketMessage: Markup of type 'html' for component 'web.framelink.Page2' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried:
> [Page class = web.framelink.Page2, id = 8, version = 0]
> Root cause:
> org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance of web.framelink.Page2, but is a web.framelink.BasePage
> at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
> This doesn't happen if you remove the iframe from the hierarchy.

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


[jira] Assigned: (WICKET-965) Link doesn't work when there is an inlineframe in source page and a page hierarchy involved

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

Igor Vaynberg reassigned WICKET-965:
------------------------------------

    Assignee: Jean-Baptiste Quenot

> Link doesn't work when there is an inlineframe in source page and a page hierarchy involved
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-965
>                 URL: https://issues.apache.org/jira/browse/WICKET-965
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: Carlos Pita
>            Assignee: Jean-Baptiste Quenot
>             Fix For: 1.3.0-beta4
>
>         Attachments: framelink.tgz
>
>
> I track down this problem until I get the minimal example that is attached. You can see that following the link from page1 to page2 the exception below is thrown:
> WicketMessage: Markup of type 'html' for component 'web.framelink.Page2' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried:
> [Page class = web.framelink.Page2, id = 8, version = 0]
> Root cause:
> org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance of web.framelink.Page2, but is a web.framelink.BasePage
> at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
> This doesn't happen if you remove the iframe from the hierarchy.

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


[jira] Updated: (WICKET-965) Link doesn't work when there is an inlineframe in source page and a page hierarchy involved

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

Carlos Pita updated WICKET-965:
-------------------------------

    Attachment: framelink.tgz

> Link doesn't work when there is an inlineframe in source page and a page hierarchy involved
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-965
>                 URL: https://issues.apache.org/jira/browse/WICKET-965
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: Carlos Pita
>             Fix For: 1.3.0-beta4
>
>         Attachments: framelink.tgz
>
>
> I track down this problem until I get the minimal example that is attached. You can see that following the link from page1 to page2 the exception below is thrown:
> WicketMessage: Markup of type 'html' for component 'web.framelink.Page2' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried:
> [Page class = web.framelink.Page2, id = 8, version = 0]
> Root cause:
> org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance of web.framelink.Page2, but is a web.framelink.BasePage
> at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
> This doesn't happen if you remove the iframe from the hierarchy.

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


[jira] Commented: (WICKET-965) Link doesn't work when there is an inlineframe in source page and a page hierarchy involved

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530379 ] 

Jean-Baptiste Quenot commented on WICKET-965:
---------------------------------------------

Have a look at WICKET-685 and see if clearing your session cookie after reloading changes helps.

> Link doesn't work when there is an inlineframe in source page and a page hierarchy involved
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-965
>                 URL: https://issues.apache.org/jira/browse/WICKET-965
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: Carlos Pita
>            Assignee: Jean-Baptiste Quenot
>             Fix For: 1.3.0-beta4
>
>         Attachments: framelink.tgz
>
>
> I track down this problem until I get the minimal example that is attached. You can see that following the link from page1 to page2 the exception below is thrown:
> WicketMessage: Markup of type 'html' for component 'web.framelink.Page2' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried:
> [Page class = web.framelink.Page2, id = 8, version = 0]
> Root cause:
> org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance of web.framelink.Page2, but is a web.framelink.BasePage
> at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
> at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)
> This doesn't happen if you remove the iframe from the hierarchy.

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