> On Nov 10, 4:26 pm, Colin Jones <[email protected]> wrote:
>
> > If have a course.cfc type with a definition thus:
>
> >         <cfproperty ftseq="42" ftfieldset="Accreditations 1"
> > ftwizardStep="Accreditations" name="sAccreditationsTitle1"
> > type="string" hint="Title for accreditation 1." required="no"
> > default="Accredited By" ftlabel="Accreditations 1 Title" />
> >         <cfproperty ftseq="43" ftfieldset="Accreditations 1"
> > ftwizardStep="Accreditations" name="aAccreditations1" type="array"
> > hint="Holds object pointers to accreditations." required="no"
> > default="" ftJoin="Accreditation" ftlabel="Accreditations 1" />
>
> > The two entries are deployed in the database.
>
> > When I go to try to edit accreditation in the webtop, I get the
> > following error:
>
> > Detail           [empty string]
> > ErrNumber       0
> > Message         Element aAccreditations1 is undefined in a CFML structure
> > referenced as part of an expression.
> > Resolvedname    [empty string]
> > StackTrace      coldfusion.runtime.UndefinedElementException: Element
> > aAccreditations1 is undefined in a CFML structure referenced as part
> > of an expression. at coldfusion.runtime.CfJspPage.ArrayGetAt
> > (CfJspPage.java:919) at coldfusion.runtime.CfJspPage._arrayGetAt
> > (CfJspPage.java:930) at coldfusion.runtime.CfJspPage._arrayGetAt
> > (CfJspPage.java:925) at cfobject2ecfm229574469._factor11(C:\Inetpub
> > \wwwroot\core\tags\wizard\object.cfm:254) at
> > cfobject2ecfm229574469._factor23(C:\Inetpub\wwwroot\core\tags\wizard
> > \object.cfm:242) at cfobject2ecfm229574469.runPage(C:\Inetpub\wwwroot
> > \core\tags\wizard\object.cfm:1) at etc...
>
> > Am I missing something obvious?
On Nov 10, 5:00 pm, Chris Kent <[email protected]> wrote:
> My guess is that you have recently added the new aAccreditations1
> array property to your course.cfc (and maybe also the
> sAccreditationsTitle1.
>
> Also that you are editing a course content item that has been left in
> the middle of an edit process before the aAccreditations1 property to
> course.cfc
>
> If I am correct:
> - Then there will be a record in table dmwizard for this course. Table
> dmwizard is used to store the state of content items during the edit
> process.
> - What you will need to do is delete this record from dmwizard. There
> may more than one record there depending on how many content items
> have been left in an edit state.
>
> Chris.
>

That's spot on Chris - I was indeed just using a 'test course' that
was already in draft not realising that it would have that effect!

Now appearing perfectly - and here was me trying all sorts of code
combinations!

Thanks so much for your help. :)

Colin.
--~--~---------~--~----~------------~-------~--~----~
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