You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ondrej Fafejta (Created) (JIRA)" <ji...@apache.org> on 2012/03/22 09:46:22 UTC
[jira] [Created] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Autocomplete IE javascript error: 'target' is null or not an object
-------------------------------------------------------------------
Key: WICKET-4465
URL: https://issues.apache.org/jira/browse/WICKET-4465
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 1.5.5
Environment: javascript - IE7, IE8, IE9
Reporter: Ondrej Fafejta
When I click to autocomplete textfield the javascript error bellow is shown.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
Message: 'target' is null or not an object
Line: 68
Char: 1
Code: 0
URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235495#comment-13235495 ]
Martin Grigorov commented on WICKET-4465:
-----------------------------------------
The improvement is added. Thanks again!
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Assignee: Martin Grigorov
> Labels: javascript
> Fix For: 1.5.6, 6.0.0
>
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Andrea Del Bene (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235491#comment-13235491 ]
Andrea Del Bene commented on WICKET-4465:
-----------------------------------------
Sorry Martin, the patch was not complete, it missed Wicket.fixEvent(event) call. I've updated it and tested it.
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Assignee: Martin Grigorov
> Labels: javascript
> Fix For: 1.5.6, 6.0.0
>
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Andrea Del Bene (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene updated WICKET-4465:
------------------------------------
Attachment: WICKET-4465.patch
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Assignee: Martin Grigorov
> Labels: javascript
> Fix For: 1.5.6, 6.0.0
>
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4465.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.0.0
1.5.6
Assignee: Martin Grigorov
Thanks Andrea!
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Assignee: Martin Grigorov
> Labels: javascript
> Fix For: 1.5.6, 6.0.0
>
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Andrea Del Bene (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene updated WICKET-4465:
------------------------------------
Attachment: (was: WICKET-4465.patch)
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Assignee: Martin Grigorov
> Labels: javascript
> Fix For: 1.5.6, 6.0.0
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Patrick van Coeverden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284643#comment-13284643 ]
Patrick van Coeverden commented on WICKET-4465:
-----------------------------------------------
This error also occurs in version 1.4.20
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Assignee: Martin Grigorov
> Labels: javascript
> Fix For: 1.5.6, 6.0.0-beta1
>
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Andrea Del Bene (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene updated WICKET-4465:
------------------------------------
Attachment: WICKET-4465.patch
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Labels: javascript
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284645#comment-13284645 ]
Martin Grigorov commented on WICKET-4465:
-----------------------------------------
1.4.x receives only security fixes.
Please upgrade to 1.5.6.
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Assignee: Martin Grigorov
> Labels: javascript
> Fix For: 1.5.6, 6.0.0-beta1
>
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WICKET-4465) Autocomplete IE javascript error:
'target' is null or not an object
Posted by "Andrea Del Bene (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235476#comment-13235476 ]
Andrea Del Bene commented on WICKET-4465:
-----------------------------------------
That's the old problem with event.target property and IE. The property must be accessed in a safe mode like this:
var input = event.target ? event.target : event.srcElement;
See patch above.
> Autocomplete IE javascript error: 'target' is null or not an object
> -------------------------------------------------------------------
>
> Key: WICKET-4465
> URL: https://issues.apache.org/jira/browse/WICKET-4465
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.5
> Environment: javascript - IE7, IE8, IE9
> Reporter: Ondrej Fafejta
> Labels: javascript
> Attachments: WICKET-4465.patch
>
>
> When I click to autocomplete textfield the javascript error bellow is shown.
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
> Timestamp: Thu, 22 Mar 2012 08:05:57 UTC
> Message: 'target' is null or not an object
> Line: 68
> Char: 1
> Code: 0
> URI: http://xxx:8080/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteBehavior/wicket-autocomplete-ver-C51E30D722C9620E9D06F141A171849F.js
> Wicket 1.5.4 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira