WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread Patti G. L. Hall
Has anybody else seen this? I've got a large structure with a bunch of single key values like: Doprotocol | 1 Eventdate | 2002-01-09 Gender | male When I wddx it and look at the results, a lot of these keys are turned into arrays. Not only that, but some of the arrays have 4 indices (all with

RE: WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread Robertson-Ravo, Neil (RX)
temp = StructInsert(foo,"gender", "male","yes"); ? -Original Message- From: Patti G. L. Hall [mailto:[EMAIL PROTECTED]] Sent: 14 January 2003 15:48 To: CF-Talk Subject: WDDX bug?: structure keys into arrays unintentionally Has anybody else seen this? I've go

Re: WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread Patti G. L. Hall
not sure about CFMX, but the following works in CF5 : >> >> >> foo = structnew(); >> temp = StructInsert(foo,"Doprotocol", 1,"yes"); >> temp = StructInsert(foo,"eventdate", "2002-01-09","yes"); >> temp = StructI

Re: WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread Patti G. L. Hall
Original Message- > From: Patti G. L. Hall [mailto:[EMAIL PROTECTED]] > Sent: 14 January 2003 15:48 > To: CF-Talk > Subject: WDDX bug?: structure keys into arrays unintentionally > > > Has anybody else seen this? > > I've got a large structure with a bunch o

Re: WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread Patti G. L. Hall
I tried my own version of this test... A very simple structure with a nested structure and a simple key. No problem. It wddxed just fine. So great. I'm running into one of those, 'so difficult to reproduce it must be user error, go read the manual' things. Great. The code I used to try to repro

RE: WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread Robertson-Ravo, Neil (RX)
age- From: Patti G. L. Hall [mailto:[EMAIL PROTECTED]] Sent: 14 January 2003 16:49 To: CF-Talk Subject: Re: WDDX bug?: structure keys into arrays unintentionally I tried my own version of this test... A very simple structure with a nested structure and a simple key. No problem. It wddxed just f

Re: WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread Patti G. L. Hall
ly the only struct you want is > the one to WDDX, and the rest should be simple key > value pairs? > > -Original Message- > From: Patti G. L. Hall [mailto:[EMAIL PROTECTED]] > Sent: 14 January 2003 16:49 > To: CF-Talk > Subject: Re: WDDX bug?: structure keys into

Re: RE: WDDX bug?: structure keys into arrays unintentionally

2003-01-14 Thread ksuh
Yup, works in CFMX. Patti, are you sure that's the data you have in your structure? - Original Message - From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> Date: Tuesday, January 14, 2003 8:54 am Subject: RE: WDDX bug?: structure keys into arrays unintentionally