Title: Message

Are you using binding from that property?  If so try taking the binding off of it (or even make sure not to bind out of the ObservationVO).

 

When you changed to an explicit getter/setter did you notice it getting called any time that wasn’t expected?

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Markus Ansamaa
Sent: Monday, July 11, 2005 10:00 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Disappearing server call parameter

 

The code property is "public var code:String;". And yes, Java class has that property.

 

The server call is used when an object is added or edited. It has worked fine and actually the feature which uses the call has already been deployed to a customer as a part of our software. Yesterday we got an error report from the customer and the cause of the error turned out to be disappearing code property. It only happens if another property is changed. I know there are plenty of places in the UI that could mess up with the value, but the debugger revealed that the value should be OK when it is send to the server.

 

I tried to use implicit getter/setter but the setter was never called with null value. I noticed that if I change the value of code property, it does not disappear. I also tried adding an additional property as you suggested and there was no problem passing it to server side.

 

I hope that you (or someone else) have some kind of suggestion since I'm stucked with this.

 

Markus

 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: 11. heinäkuuta 2005 23:36
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Disappearing server call parameter

Is the code property a getter/setter?  What if you add an additional property named something else?  Does your Java class have that property declared?

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Markus Ansamaa
Sent: Monday, July 11, 2005 4:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Disappearing server call parameter

 


I'm totally confused with one of my server calls. It seems to be that in
certain circumstances one of the parameter object's properties disappear. I
have debugged the application to the point where the server call is made and
debugger says the property exists. But when the server side code is called
there is no value for the property. I know the problem sounds weird, but I
simply can't find the cause of the problem. Has anyone any suggestions?

In below, there are some details from the Network Monitor.


Markus


13:43:12.691    RemoteObject        RPC
13.43:12.942    HTTPHeader          POST
13.43.12.942    AMF                      AMF/Post Message


Here are details for the RPC:

Method: observationFacade.saveObservationDefinition

Parameter 1:
      name : param1
      type : object
      value[object] :
            _flag[String] : Envelope
            data[array] :
                  length[Number] : 1
                  [0][object] :
                        definition[null] : null
                        id[object] :
                              extension[undefined] : undefined
                              root[undefined] : undefined
                        oid[Number] : 1.19582E+006
                        repeatHigh[Number] : 1
                        repeatLow[Number] : 0
                        statusCode[String] : normal
                        statusOid[null] : null
                        title[String] : Ohjainkatetri(t), 2.suoni
                        valueDefinition[object] :
code OK ->                        code[String] : as
                              ...


And for the AMF Post Message:

Message Target : observationFacade.saveObservationDefinition

data[array] :
      length[Number] : 1
      [0][object] :
            _flag[String] : Envelope
            data[array] :
                  length[Number] : 1
     
[0][com.intensium.iwiser.business.observation.ObservationVO] :
                        definition[undefined] : undefined
                        id[com.intensium.iwiser.business.IdVO] :
                              extension[undefined] : undefined
                              root[undefined] : undefined
                        oid[Number] : 1.19582E+006
                        repeatHigh[Number] : 1
                        repeatLow[Number] : 0
                        statusCode[String] : normal
                        statusOid[null] : null
                        title[String] : Ohjainkatetri(t), 2.suoni
     
valueDefinition[com.intensium.iwiser.business.observation.ValueDefinitionVO]
:
code missing ->                  code[undefined] : undefined
                              ...



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to