You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "An Hong (JIRA)" <ji...@apache.org> on 2008/03/07 17:49:46 UTC
[jira] Created: (AXIS2-3579) ADB-codegen overrides default for
optional primitive element
ADB-codegen overrides default for optional primitive element
------------------------------------------------------------
Key: AXIS2-3579
URL: https://issues.apache.org/jira/browse/AXIS2-3579
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: codegen
Affects Versions: 1.4
Environment: 32-bit Windows XP
Reporter: An Hong
ADB codegen always return MIN_VALUE for unseen optional primitive element, regardless of what its default was initialized to.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3579) ADB-codegen overrides default for
optional primitive element
Posted by "An Hong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
An Hong updated AXIS2-3579:
---------------------------
Attachment: axis2-3579.patch
The proposed fix, as attached, is
a) Initialize the element member to unseen value (MIN_VALUE) if it does not have a default; and
b) Don't change the element member if it's optional and not seen.
%%
> ADB-codegen overrides default for optional primitive element
> ------------------------------------------------------------
>
> Key: AXIS2-3579
> URL: https://issues.apache.org/jira/browse/AXIS2-3579
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.4
> Environment: 32-bit Windows XP
> Reporter: An Hong
> Attachments: axis2-3579.patch
>
>
> ADB codegen always return MIN_VALUE for unseen optional primitive element, regardless of what its default was initialized to.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3579) ADB-codegen overrides default for
optional primitive element
Posted by "An Hong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
An Hong updated AXIS2-3579:
---------------------------
Attachment: PopulateChoiceTest.patch
PopulateParticleAllTest.patch
The proposed fix would require changing two test cases.
> ADB-codegen overrides default for optional primitive element
> ------------------------------------------------------------
>
> Key: AXIS2-3579
> URL: https://issues.apache.org/jira/browse/AXIS2-3579
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.4
> Environment: 32-bit Windows XP
> Reporter: An Hong
> Attachments: axis2-3579.patch, PopulateChoiceTest.patch, PopulateParticleAllTest.patch
>
>
> ADB codegen always return MIN_VALUE for unseen optional primitive element, regardless of what its default was initialized to.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org