You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/01/14 18:20:01 UTC

DO NOT REPLY [Bug 16070] New: - Discrepancy in standard form bean setter method giving error ONLY on solaris

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16070>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16070

Discrepancy in standard form bean setter method giving error ONLY on solaris

           Summary: Discrepancy in standard form bean setter method giving
                    error ONLY on solaris
           Product: Struts
           Version: 1.1 Beta 1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Standard Actions
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: ajay.malgaonkar@icici-infotech.com


The architecture of our application is 3-tiered. Presentation tier using 
Struts, business tier using EJBs and data tier using Oracle. The presentation 
tier and business tier runs on WebSphere 4.0.4. In a particular use case the 
getter-setter methods of the form bean are as follows :

1] BrandMasterPrimaryKey getBrandMasterPrimaryKey()
2] void setBrandMasterPrimaryKey(String brandMasterPrimaryKey)

Due to some functional requirements, there is a deviation from java-beans 
rules; which states that the getter method should return a String object too.

There is a corresponding html input element in the jsp as follows :
<input type="hidden" name="brandMasterPrimaryKey" value='30'/>

Now the setter method gets called properly while running WebSphere on Windows 
NT & Linux RedHat. But in case of WebSphere running on Solaris; the setter 
method cannot be located and is not called. Hence the subsequent value object 
is set to null for brandMasterPrimaryKey.

The configuration on which this method runs perfectly fine is : IBM Websphere 
4.0.4 (fix pack 4), Struts 1.1(with commonValidator), realMethods 2.1(third 
party framework for other than presentation tier), Oracle9i, on NT 4 / 2000/ 
Linux RH 7.3

The configuration on which this method gives problem : IBM Websphere 4.0.4 (fix 
pack 4), Struts 1.1(with commonValidator), realMethods 2.1(third party 
framework for other than presentation tier), Oracle9i, on Solaris SunOs 5.8

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>