I haven't seen this, but I'm still on FC 6.3 at the moment (except for some 
testing I'm doing in 7).  Until a fix is found, one thing you can do is force 
it to save the title to the label by creating a custom beforeSave() method 
inside the custom type.  If anything it will at least give you a temporary 
workaround.  But if this is a bug in FC7, then it's a pretty serious one (IMO).

Example:

<cffunction name="beforeSave" access="public" output="false" 
returntype="struct">
        <cfargument name="stProperties" required="true" type="struct" />
        <cfargument name="stFields" required="true" type="struct" />
        <cfargument name="stFormPost" required="false" type="struct" /> 

        <cfset arguments.stProperties.label = arguments.stProperties.title />

        <cfreturn super.beforeSave(argumentCollection=arguments) />
</cffunction>

If you feel comfortable sharing your CFC, go ahead and post it (maybe we'll see 
something you're missing - sometimes it just takes a second set of eyes to see 
something we've overlooked).  If not, you are welcome to send it to just me and 
I'll be happy to see if something jumps out.

--
Jeff Coughlin

On Jan 13, 2014, at 5:12 PM, Scott Mebberson <[email protected]> wrote:

> Has anyone run into a problem in which labels for a custom object type aren't 
> working on all occasions. Works for some instances of the object type, but 
> not others. The type does have a title property, which always contains the 
> real value.
> 
> I've tried the following:
> updateApp (a few dozen times, and after each of the following)
> added bLabel to the title cfproperty tag
> added displayLabel.cfm to the type folder in webskins and am outputting 
> stObj.title
> But still, no label. The label doesn't exist in the stObj that is passed 
> around to the various webskins.
> 
> Any ideas?
> 
> I'm running FarCry 7 (I did git pull on both core and farcrycms this morning 
> so they're fresh!).
> 
> Thanks,
> Scott.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to