You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Karel Behounek (JIRA)" <ji...@apache.org> on 2011/01/28 14:45:43 UTC

[jira] Created: (WICKET-3403) Cannot convert 'this.content' to object in Opera

Cannot convert 'this.content' to object in Opera
------------------------------------------------

                 Key: WICKET-3403
                 URL: https://issues.apache.org/jira/browse/WICKET-3403
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.13
         Environment: Opera 11.01, Windows XP SP3 (client side)
            Reporter: Karel Behounek
            Priority: Minor


I get the error "Uncaught exception: TypeError: Cannot convert 'this.content' to object" in Opera every time I try to open some modal window, the problematic code seems to be the following part of modal.js script:

 if (Wicket.Browser.isOpera()) {
this.content.onload = function() {
this.content.contentWindow.name = this.settings.iframeName;
}
} else {
this.content.contentWindow.name = this.settings.iframeName;
}

I am just an end-user, the above information was reported by Opera Dragonfly (error found on line 422 of modal.js). Priority is minor - I cannot use Opera with our in-house wicked-based IS (it heavily depends on modal windows), but I can use alternate browsers like Firefox or Chrome which are not affected.

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


[jira] Assigned: (WICKET-3403) Cannot convert 'this.content' to object in Opera

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

Martin Grigorov reassigned WICKET-3403:
---------------------------------------

    Assignee: Martin Grigorov

> Cannot convert 'this.content' to object in Opera
> ------------------------------------------------
>
>                 Key: WICKET-3403
>                 URL: https://issues.apache.org/jira/browse/WICKET-3403
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.13
>         Environment: Opera 11.01, Windows XP SP3 (client side)
>            Reporter: Karel Behounek
>            Assignee: Martin Grigorov
>            Priority: Minor
>
> I get the error "Uncaught exception: TypeError: Cannot convert 'this.content' to object" in Opera every time I try to open some modal window, the problematic code seems to be the following part of modal.js script:
>  if (Wicket.Browser.isOpera()) {
> this.content.onload = function() {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> } else {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> I am just an end-user, the above information was reported by Opera Dragonfly (error found on line 422 of modal.js). Priority is minor - I cannot use Opera with our in-house wicked-based IS (it heavily depends on modal windows), but I can use alternate browsers like Firefox or Chrome which are not affected.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (WICKET-3403) Cannot convert 'this.content' to object in Opera

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

Martin Grigorov resolved WICKET-3403.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC2
                   1.4.16

Fixed with r1070604 (trunk) and r1070605 (1.4.x).

> Cannot convert 'this.content' to object in Opera
> ------------------------------------------------
>
>                 Key: WICKET-3403
>                 URL: https://issues.apache.org/jira/browse/WICKET-3403
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.13
>         Environment: Opera 11.01, Windows XP SP3 (client side)
>            Reporter: Karel Behounek
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.4.16, 1.5-RC2
>
>
> I get the error "Uncaught exception: TypeError: Cannot convert 'this.content' to object" in Opera every time I try to open some modal window, the problematic code seems to be the following part of modal.js script:
>  if (Wicket.Browser.isOpera()) {
> this.content.onload = function() {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> } else {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> I am just an end-user, the above information was reported by Opera Dragonfly (error found on line 422 of modal.js). Priority is minor - I cannot use Opera with our in-house wicked-based IS (it heavily depends on modal windows), but I can use alternate browsers like Firefox or Chrome which are not affected.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (WICKET-3403) Cannot convert 'this.content' to object in Opera

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

Hudson commented on WICKET-3403:
--------------------------------

Integrated in Apache Wicket 1.4.x #438 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/438/])
    WICKET-3403 Cannot convert 'this.content' to object in Opera

First set the onload handler and then update the iframe's location.
Additionally bind onload to this so it is possible to get a reference to this.content (the iframe).


> Cannot convert 'this.content' to object in Opera
> ------------------------------------------------
>
>                 Key: WICKET-3403
>                 URL: https://issues.apache.org/jira/browse/WICKET-3403
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.13
>         Environment: Opera 11.01, Windows XP SP3 (client side)
>            Reporter: Karel Behounek
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.4.16, 1.5-RC2
>
>
> I get the error "Uncaught exception: TypeError: Cannot convert 'this.content' to object" in Opera every time I try to open some modal window, the problematic code seems to be the following part of modal.js script:
>  if (Wicket.Browser.isOpera()) {
> this.content.onload = function() {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> } else {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> I am just an end-user, the above information was reported by Opera Dragonfly (error found on line 422 of modal.js). Priority is minor - I cannot use Opera with our in-house wicked-based IS (it heavily depends on modal windows), but I can use alternate browsers like Firefox or Chrome which are not affected.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira