On Nov 7, 2007, at 10:22 AM, Doug Hughes wrote:

> You're saying that I added the content to the container while the HTML
> object was still in draft.  So, even though it's published now, the
> container "thinks" it's associated with the draft ID (which doesn't
> exist in the database?) and won't display otherwise.
>
> That sounds like a bug to me....


That shouldn't be the case.  When you create a draft object (of any  
type) for the first time and then approve it, the objectid *should* be  
carried along.  However, when creating drafts on existing approved  
items, the new draft will have a temporary objectid.  Any associations  
made to that draft object (like a container in this case) will be  
carried along to the approved object (once approved).  [note: I  
haven't actually tested this process since FarCry 4 beta 1, but I  
doubt it has changed].

@Doug:
1. If you haven't already, turn off the object broker (caching) on the  
dev site (in Application.cfm, add bObjectBroker="false" to the  
farcryInit custom tag call).  I know you've already cleared the cache,  
but this makes it a lot easier for development (especially when  
dealing with a cached container).
2. If when viewing the page you are getting blank info, take a peek at  
the HTML source.  If there is a CF error, FarCry will output the error  
in an HTML remarked comment.
3. Sorry for seeming so obvious, but have you checked to see if the  
COAPI manager has anything to offer for rules?  (check types as  
well).  Sometimes taking a quick peek in there might show that you  
haven't re-deployed a recent change or something.
4. If all else fails, try eliminating the execute.cfm file.  To do  
this, just create a <cffunction> with the name of "execute" in your  
rule.cfc.  The rule will see the execute function and call that  
instead.  Try outputting a simple "hello world" there.

Regards,

--
Jeff Coughlin
Web Application Developer
http://jeffcoughlin.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to