Re: Manage Friendly URLs - type no longer exists

AJ Mercer <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAPURtC3xCzzi93ghwTWDR5PexWtwXw5asWNZvFFrtqbKVKwjew@mail.gmail.com>
I did not capture the debugging - sorry

But got around it with a try/catch (which I have now commented out)

farcry\core\packages\coapi\*coapiUtilities.cfc*


<cffunction name="getContentObject" access="public" output="false"
returnType="struct" hint="Allows you to fetch a content object with only
the objectID">
<cfargument name="objectid" type="UUID" required="true" hint="The object
for which object is to be found" />
<cfargument name="typename" type="string" required="false" default=""
hint="The typename of the objectid. Pass in to avoid having to lookup the
type." />
 <cfset var stResult = structNew() />
<cfset var oCO = structNew() />
 <cfif not len(arguments.typename)>
<cfset arguments.typename = findType(argumentCollection="#arguments#") />
</cfif>
 <cfif len(arguments.typename)>
<!--- Just in case the whole package path has been passed in, we only need
the actual typename --->
<cfset arguments.typename = listLast(arguments.typename,".") />

<!--- AJM: friendly URL issue --->
<!--- *<cftry>* --->
<cfset oCO  = createObject("component",
application.stcoapi[arguments.typename].packagePath) />
<cfset stResult = oCO.getData(argumentCollection="#arguments#") />
<!--- *<cfcatch>*
<cfset  stResult = structNew() />
*</cfcatch>*
*</cftry>* --->
</cfif>

On 7 March 2013 18:32, Blair McKenzie <[email protected]> wrote:

> I believe filters are stored in the session. If you clear your session,
> you will probably be able to view the page again. Also, if you still have a
> stack trace, please log a bug :)
>
> Blair
>
>
> On Thu, Mar 7, 2013 at 5:53 PM, AJ Mercer <[email protected]> wrote:
>
>> I have removed a plugin from my project and now when I did a search in
>> friendly URLs a match has been found for one of it's types and Farcry has
>> thrown an error
>>
>> Message:
>>
>> key [farBlog] doesn't exist in struct
>>
>>
>> and I can not now get back to the admin page for this.
>>
>> I tried application reload - wizards, but still can not get rid of the
>> error message
>>  --
>>
>> *AJ Mercer*
>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
>> community="Open" /> <http://webonix.org>
>> http://twitter.com/webonix
>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>>
>> --
>> You received this message cos you are subscribed to "farcry-dev" Google
>> group.
>> To post, email: farcry-dev-/[email protected]
>> To unsubscribe, email: farcry-dev+unsubscribe-/[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 farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[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 farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 

*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[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 farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.