Hi,

after some digging around we believe that problem is in using
combination of Workflow & Friendly URL. It happens in core/packages/
types/types.cfc (in ver.5.0.2) on line 535:
534. <cfif NOT structkeyexists(arguments.stproperties, "status")>
535.            <cfif isDefined("Application.config.plugins.FU") AND
Application.config.plugins.FU AND (NOT StructKeyExists
(application.types[arguments.stProperties.typename].stprops,"status"))
AND StructKeyExists(application.types
[arguments.stProperties.typename],"bFriendly") AND application.types
[arguments.stProperties.typename].bFriendly AND NOT ListFindNoCase
(application.config.fusettings.lExcludeObjectIDs,arguments.stProperties.objectid)
>
                        .....................................................

It was commented out earlier (5.0 beta), but in 5.0.0 as well as 5.0.2
it is uncommented and causes error in " StructKeyExists
(application.types[arguments.stProperties.typename].stprops,"status""
expression. In case if FU is doenst progress to that point and works.
As soon as FU's are enabled it got crushed with error:
empty string]
ErrNumber       0
Message         Element '' is undefined in a CFML structure referenced
as
part of an expression.
Resolvedname    [empty string]

Please advise if it will not harm anything else if we comment this
section as it was in 5.0 beta.

Thanks again,

Mika




On Nov 17, 2:31 am, "Blair McKenzie" <[EMAIL PROTECTED]> wrote:
> Try instantiating the type component, any errors. It looks like there might
> be an problem with that.
>
> Blair
>
> On Sun, Nov 16, 2008 at 10:41 PM, smika <[EMAIL PROTECTED]> wrote:
>
> > No, just yesterday i've updated core to 5.02 hoping that it will solve
> > the issue. But it doesnt...
> > I thought this may do with permissions or webskins, but even when i am
> > logged as an admin it still gives this error and only with Article
> > custom type.
>
> > On Nov 16, 3:12 pm, "Jeff Coughlin" <[EMAIL PROTECTED]> wrote:
> > > Does anything need to be deployed (for any types/rules)?  Have you
> > updated
> > > anything recently (core, plugin, project files)?
>
> > > --
> > > Jeff Coughlin
>
> > > On Sun, Nov 16, 2008 at 4:02 AM, smika <[EMAIL PROTECTED]> wrote:
>
> > > > Dear friends,
>
> > > > We are using FC5 with SQLServer 2005 on shared host.
>
> > > > I dont know what happened to one of my custom types, which used to
> > > > work properly recently (allowing to add articles to system), but now
> > > > it brings an error like this when i am trying to insert an article
> > > > hitting Add button:
>
> > > > [empty string]
> > > > ErrNumber       0
> > > > Message         Element '' is undefined in a CFML structure referenced
> > as
> > > > part of an expression.
> > > > ...snip...
> > > > What may cause this? Please help!
>
> > > > Thanks,
>
> > > > Mika
--~--~---------~--~----~------------~-------~--~----~
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