You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "zhouyanming (JIRA)" <ji...@apache.org> on 2007/06/18 08:46:26 UTC
[jira] Created: (WW-2000) @CreateIfNull doesn't works
@CreateIfNull doesn't works
---------------------------
Key: WW-2000
URL: https://issues.apache.org/struts/browse/WW-2000
Project: Struts 2
Issue Type: Bug
Components: Configuration, Dispatch, Value Stack
Affects Versions: 2.0.8
Environment: xwork2.0.3,struts2.0.8
Reporter: zhouyanming
Assignee: Don Brown
Priority: Critical
I found struts 2 use com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer as default,but when I change xwork2.0.3 to xwork2.0.2,struts 2 use com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer as default,so @CreateIfNull works fine
org.apache.struts2.dispatcher.Dispatcher line 401
change
ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class);
to
ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class,"tiger");
this can make xwork2.0.3 works fine,but I don't think this is a good idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2000) @CreateIfNull doesn't works
Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41244 ]
zhouyanming commented on WW-2000:
---------------------------------
http://jira.opensymphony.com/browse/XW-527
> @CreateIfNull doesn't works
> ---------------------------
>
> Key: WW-2000
> URL: https://issues.apache.org/struts/browse/WW-2000
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration, Dispatch, Value Stack
> Affects Versions: 2.0.8
> Environment: xwork2.0.3,struts2.0.8
> Reporter: zhouyanming
> Assignee: Don Brown
> Priority: Critical
>
> I found struts 2 use com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer as default,but when I change xwork2.0.3 to xwork2.0.2,struts 2 use com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer as default,so @CreateIfNull works fine
> org.apache.struts2.dispatcher.Dispatcher line 401
> change
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class);
> to
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class,"tiger");
> this can make xwork2.0.3 works fine,but I don't think this is a good idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-2000) @CreateIfNull doesn't works
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown resolved WW-2000.
---------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1.0)
2.0.10
Fixed in XWork
> @CreateIfNull doesn't works
> ---------------------------
>
> Key: WW-2000
> URL: https://issues.apache.org/struts/browse/WW-2000
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration, Dispatch, Value Stack
> Affects Versions: 2.0.8
> Environment: xwork2.0.3,struts2.0.8
> Reporter: zhouyanming
> Assignee: Rainer Hermanns
> Priority: Critical
> Fix For: 2.0.10
>
>
> I found struts 2 use com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer as default,but when I change xwork2.0.3 to xwork2.0.2,struts 2 use com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer as default,so @CreateIfNull works fine
> org.apache.struts2.dispatcher.Dispatcher line 401
> change
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class);
> to
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class,"tiger");
> this can make xwork2.0.3 works fine,but I don't think this is a good idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2000) @CreateIfNull doesn't works
Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rainer Hermanns updated WW-2000:
--------------------------------
Fix Version/s: 2.1.0
Assignee: Rainer Hermanns (was: Don Brown)
> @CreateIfNull doesn't works
> ---------------------------
>
> Key: WW-2000
> URL: https://issues.apache.org/struts/browse/WW-2000
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration, Dispatch, Value Stack
> Affects Versions: 2.0.8
> Environment: xwork2.0.3,struts2.0.8
> Reporter: zhouyanming
> Assignee: Rainer Hermanns
> Priority: Critical
> Fix For: 2.1.0
>
>
> I found struts 2 use com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer as default,but when I change xwork2.0.3 to xwork2.0.2,struts 2 use com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer as default,so @CreateIfNull works fine
> org.apache.struts2.dispatcher.Dispatcher line 401
> change
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class);
> to
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class,"tiger");
> this can make xwork2.0.3 works fine,but I don't think this is a good idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2000) @CreateIfNull doesn't works
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42032 ]
Don Brown commented on WW-2000:
-------------------------------
It seems like this issue has been fixed in XWork. Can we close it here?
> @CreateIfNull doesn't works
> ---------------------------
>
> Key: WW-2000
> URL: https://issues.apache.org/struts/browse/WW-2000
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration, Dispatch, Value Stack
> Affects Versions: 2.0.8
> Environment: xwork2.0.3,struts2.0.8
> Reporter: zhouyanming
> Assignee: Rainer Hermanns
> Priority: Critical
> Fix For: 2.1.0
>
>
> I found struts 2 use com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer as default,but when I change xwork2.0.3 to xwork2.0.2,struts 2 use com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer as default,so @CreateIfNull works fine
> org.apache.struts2.dispatcher.Dispatcher line 401
> change
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class);
> to
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class,"tiger");
> this can make xwork2.0.3 works fine,but I don't think this is a good idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2000) @CreateIfNull doesn't works
Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42040 ]
zhouyanming commented on WW-2000:
---------------------------------
It's fixed in xwork2.0.4,please close this issue.
> @CreateIfNull doesn't works
> ---------------------------
>
> Key: WW-2000
> URL: https://issues.apache.org/struts/browse/WW-2000
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration, Dispatch, Value Stack
> Affects Versions: 2.0.8
> Environment: xwork2.0.3,struts2.0.8
> Reporter: zhouyanming
> Assignee: Rainer Hermanns
> Priority: Critical
> Fix For: 2.1.0
>
>
> I found struts 2 use com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer as default,but when I change xwork2.0.3 to xwork2.0.2,struts 2 use com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer as default,so @CreateIfNull works fine
> org.apache.struts2.dispatcher.Dispatcher line 401
> change
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class);
> to
> ObjectTypeDeterminer objectTypeDeterminer = container.getInstance(ObjectTypeDeterminer.class,"tiger");
> this can make xwork2.0.3 works fine,but I don't think this is a good idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.