If FarCry is asked to render an object that doesn't exist it will create 
temporary object of the nominated type, populated with the default values 
nominated for that content type.  This is called a "default object", but is 
simply a framework artefact and shouldn't really enter into normal FarCry 
development.

This dump looks a lot like a default object, so I'd say you possibly have the 
objectid in the URL for an object that doesn't actually exist in in the system.

This behaviour is an artefact of the way we build edit forms -- when you are 
creating an object for the first time you need to populate the edit handler 
with something.  You have many scenarios where forms are never completed, so if 
we created the object in the database first we end up with a lot of dud records.

This has the unfortunate consequence of confusing folks who are explicitly 
rendering a content item that doesn't actually exist in the system. 

Hope that helps,

-- geoff
http://www.daemon.com.au/

On 27/02/2010, at 1:44 AM, Activant wrote:
> Am working through tutorial and my page is not displaying anything. I
> did a dump and notice my array is empty. AM somewhat confused as to
> why as everything has worked up until now. Thoughts?
> 
> BDEFAULTOBJECT         true
> CREATEDBY     Unknown
> DATETIMECREATED       {ts '2010-02-26 08:42:07'}
> DATETIMELASTUPDATED   {ts '2010-02-26 08:42:07'}
> LABEL         (incomplete)
> LASTUPDATEDBY         Unknown
> OBJECTID      D90CBDF2-197E-06CB-C7BCEE383D978052
> OWNEDBY       [empty string]
> TYPENAME      superGroup
> aSuperHeroes array [empty]
> description   [empty string]
> headquarters  [empty string]
> imgHeadQuarters       [empty string]
> locked        0
> lockedBy      [empty string]
> title         [empty string]
> 

-- 
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