Got Error 'Element displayOrder is undefined in a CFML structure referenced as part of an expression.'

28 views
Skip to first unread message

Xiaofeng Liu

unread,
May 9, 2012, 10:28:48 PM5/9/12
to farcry-dev
Hi guys,

Just want to see if anyone can give me some help on this one.

I have a custom type called 'FAQs'. After I've done it, it's been
deployed and clients started using the feature and all going well.

Now the client wanted to make some change so I will need to add in a
new property into this type:

<cfproperty ftSeq="23" ftwizardStep="Display Details"
ftFieldset="Display" ftLabel="Display Order" name="displayOrder"
type="numeric">

After deploying the new property in farcry types interface, when I
edit an existing faq record, I got error:

There was a problem with that last request!

Please push "back" on your browser or go back home
Error Details
Message Element displayOrder is undefined in a CFML structure
referenced as part of an expression.
Exception Type Expression
Detail
Tag Context

C:\dev\metcash\www\myiba_farcry\farcry\core\tags\wizard\object.cfm
(line: 240)
C:\dev\metcash\www\myiba_farcry\farcry\core\tags\wizard\object.cfm
(line: 228)
C:\dev\metcash\www\myiba_farcry\farcry\core\tags\wizard\object.cfm
(line: 15)
C:\dev\metcash\www\myiba_farcry\farcry\core\tags\wizard\object.cfm
(line: 1)
C:\dev\metcash\www\myiba_farcry\farcry\core\packages\types
\types.cfc (line: 842)
C:\dev\metcash\www\myiba_farcry\farcry\core\webtop\conjuror
\invocation.cfm (line: 161)

It's kind of strange coz it only happened on certain records but not
all of them.

If I create a new record, there is no problem at all.

I feel like this is a bug in FarCry. Has anyone had the some problem
before?

Any help would be much appreciated.

Cheers,


Blair McKenzie

unread,
May 9, 2012, 10:43:01 PM5/9/12
to farcr...@googlegroups.com
Farcry stores wizards in the process of being edited - and when you change the schema, that stored becomes invalid. Go to Webtop -> Admin -> Developer Utilities -> Reload Applications. Check the "Wizards" option and submit the form. That should fix the problem.

Blair



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

Xiaofeng Liu

unread,
May 9, 2012, 10:46:46 PM5/9/12
to farcr...@googlegroups.com
Thanks Blair.

That fixed my problem. I was reloading the whole application but got error. By only checking wizard, problem fixed.

Cheers,
--
Best regards,

Xiaofeng,^_^

tHeSmUrF

unread,
May 10, 2012, 7:29:29 PM5/10/12
to farcr...@googlegroups.com
@Blair, So doing a "Reinitalize Application" doesn't rebuild wizards etc? I didn't know that and it also explains a similar issue to Xiaofeng's that I had seen before.  Learn something new every day :)
Reply all
Reply to author
Forward
0 new messages