I have received a bug number from one of the Macromedia Spectra support
forums after I submitted a sample of code (see below) that worked in
version 1.5. Since this is the last Macromedia version of Spectra, how
will this and other confirmed bugs be addressed?
Thanks,
Jeffrey White
My post:
<cfscript>
/* create entire structure */
myProfile.Business=StructNew();
myProfile.Home=StructNew();
/* put data into structure */
myProfile.firstName=myFirstname;
myProfile.lastName=myLastname;
myProfile.Employer=myEmployer;
myProfile.Business.eMail=myBusinessEmail;
myProfile.Business.streetAddress=street_address;
myProfile.Business.stateProv=state_prov;
myProfile.Business.city=city;
myProfile.Business.countryCode=country;
myProfile.Business.postalCode=postal_code;
myProfile.Business.Phone_intCode=business_telecomm_phone_intcode;
myProfile.Business.Phone_AreaCode=business_telecomm_phone_areaCode;
myProfile.Business.Phone_Number=business_telecomm_phone_number;
myProfile.Business.Mobile_intCode=business_telecomm_mobile_intcode;
myProfile.Business.Mobile_AreaCode=business_telecomm_mobile_areaCode;
myProfile.Business.Mobile_Number=business_telecomm_mobile_number;
myProfile.Business.Pager_intCode=business_telecomm_pager_intcode;
myProfile.Business.Pager_AreaCode=business_telecomm_pager_areaCode;
myProfile.Business.Pager_Number=business_telecomm_pager_number;
myProfile.Home.Phone_intCode=home_telecomm_phone_intcode;
myProfile.Home.Phone_AreaCode=home_telecomm_phone_areaCode;
myProfile.Home.Phone_Number=home_telecomm_phone_number;
</cfscript>
<!--- Save the user profile --->
<cfa_userprofileset
datasource="CFAOBJECTS"
username="#myUsername#"
stuserprofile="#myProfile#"
>
Response:
I'm not sure why you got that particular error message. However, I did get the "Error
resolving parameter
STTMDS.UPDATEOBJECTDATA.HANDLERURL" error when I tried your code on a fresh profile.
It worked
when I omitted the lines where you structNew() the Business and Home structures -- but
only on fresh profiles.
The previous ones I ran the script on still failed. I think it has something to do
with the structNew()s causing the
embedded object type information to get deleted, even though it's not supposed to. I
entered bug 26387.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.