Spectra 1.5.1, CF5
I get an error trying to set the userprofile.business.electronicinfo.email
property. - apparently electronicinfo is no longer a property of business:
Non-registered object property
The property 'ELECTRONICINFO' is not registered for the object type
'C3CAC161-4B8B-11D4-9AF00060B0EB3965' (Contact). Such property cannot be
referenced in the object 'B1A19263-FA50-4FD2-B001C1CCFDDA47F2.BUSINESS' that
is derived from this type.
So some smartypants is going to tell me that the userprofile is different in
1.5.1. OK then, why does the taskinstnotify handler still look for this
property:
/*if( NOT isDefined('stUserProfile.business') OR NOT
isStruct(stUserProfile.business) )
{
stUserProfile.business = structnew(); }
if( NOT isDefined('stUserProfile.business.electronicinfo') OR NOT
isStruct(stUserProfile.business.electronicinfo) )
{
stUserProfile.business.electronicinfo = structnew(); }
if( NOT isDefined('stUserProfile.business.electronicinfo.email') OR NOT
trim(len(stUserProfile.business.electronicinfo.email)) )
{
stUserProfile.business.electronicinfo.email =
"#stObjectData.objectID#@spectra_workflow_notification_FROM_emailaddr_not_se
t.pg"; }
mailAddr = stUserProfile.business.electronicinfo.email;*/
So whats the story ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.