>> GreenByte.info By Nick Tong (quiksilv) | Supported by: TalkWebSolutions.co.uk

Transfer ORM error... what did I do wrong?

I have been playing around with Mark Mandels Transfer ORM a bit more recently and tonight I got a strange error:

Element ID is undefined in XOBJECT.

What does this mean..

well after searching sadly i didn't find that much info, so I did the following things:

1. Validated my transfer.xml - nope
2. Made sure I had a primary key.. err, okay stupidly I didn't, after fixing this the error was still persistent
3. Define the id in transfer.xml (this tells transfer what the primary key is) - bingo!

What i had before was:

<property name="contactID"       type="numeric" />

and what i needed was

<id       name="contactID"       type="numeric" />

D'oh.


 
Comments
Mark Mandel's Gravatar I'm surprised your xml validated without the ID tag in there.... I'll have to have a look at that.
# Posted By Mark Mandel | 04/05/07 06:12 | Report abusive comment
BlogCFC was created by Raymond Camden. This blog is running version 5.5.1.