BACKGROUND: I've been digging in the core all day trying to figure out
the best way to resolve this issue. I'm using the latest 6.0.5 release
and after years of only using the core aObjectIDs and aRelatedIDs
method I decided to build a custom array property called
aOrganizationsIDs.

THE ISSUE: I'll try not to make this to confusing... I have a Program,
Organization, and Bio type. The Program type has an aOrganizationIDs
and a aBioIDs array property. The Bio type also has a aOrganizationIDs
array property. This allows the Program and the Bio to be related to a
specific Organization. So... everything works fine up to the point
where I try to CREATE a new Bio type from the Program type. When I
click [CREATE] it launches the overlay with the Bio admin initialized.
I go through the admin and then hit COMPLETE.... ERROR: Element
STPROPERTIES.FIRSTNAME is undefined in ARGUMENTS. I traced it back to:

RAW_TRACE        at cfppBio2ecfc1519988391$funcBEFORESAVE.runFunction(C:
\inetpub\wwwroot\farcry\projects\fc_patientpower\packages\types
\ppBio.cfc:33

All the struct keys in ARGUMENTS.STPROPERTIES for the Bio type are
gone and all that remains is the typename, lastupdatedby, objectID and
aOrganizationIDs . This causes my Bio.cfc beforeSave() method to fail
which is expecting a complete struct of type data (firstName,
lastName...).

It appears to me that while creating the new Bio instance from the
Program type creates a conflict due to both types having an
aOrganizationIDs property.

Am I missing something? Anyone out there dealing or have dealt with
this issue? Any help would be greatly appreciated.


-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to