The error is gone if I removed lFilterFields="title" from
<ft:objectadmin />.

But now my users won't be able to filter on content. Can someone tell
me why it's been working fine for months then suddenly behaves this
way?

My original custom admin script looked like this -

<cfimport taglib="/farcry/core/tags/admin" prefix="admin" />
<cfimport taglib="/farcry/core/tags/formtools" prefix="ft" />

<!--- Override the client side validation for the filter fields. --->
<cfset stFilterMetaData = structNew() />
<cfset stFilterMetaData.title.ftValidation = "" />

<!--- set up page header --->
<admin:header title="CPAJ Stories" />

<ft:objectadmin
        typename="dmCPAJ"
        title="CPAJ Stories"
        permissionset="EdP"
        columnList="title,publishdate,datetimelastUpdated"
        sortableColumns="title,publishdate,datetimelastUpdated"
        lFilterFields="title"
        stFilterMetaData="#stFilterMetaData#"
        sqlorderby="publishdate desc, datetimelastUpdated desc" />

<!--- setup footer --->
<admin:footer />

On Jul 3, 9:25 am, "Dan T.W." <[EMAIL PROTECTED]> wrote:
> Here is the specific error message -
>
> MONTH
>
> The error occurred in : line 1
> Called from E:\farcry\core\packages\fourq\fourq.cfc: line 150
> Called from E:\farcry\core\packages\fourq\fourq.cfc: line 435
> Called from E:\farcry\core\tags\formtools\objectadmin.cfm: line 208
> Called from E:\farcry\core\tags\formtools\objectadmin.cfm: line 199
> Called from E:\farcry\core\tags\formtools\objectadmin.cfm: line 28
> Called from E:\farcry\core\tags\formtools\objectadmin.cfm: line 1
> Called from E:\farcry\projects\showcase\customadmin\customlists
> \dmCPAJ.cfm: line 23
> Called from E:\farcry\core\admin\admin\customadmin.cfm: line 24
>
> -1 : Unable to display error's location in a CFML template.
>
> And this was the last method/query executed -
>
> qgetData (Datasource=farcry, Time=15ms, Records=0) in E:\farcry\core
> \packages\fourq\_fourq\getData.cfm @ 16:26:21.021
>
>         SELECT
> title,coAuthor,teaserImage,thirdAuthor,displayMethod,publishDate,datetimecr­eated,vol,expiryDate,status,mainPage,commentlog,Teaser,createdby,publisherL­etter,Body,datetimelastupdated,ownedby,label,num,catContents,subTitle,featu­re,versionID,author,lastupdatedby,ObjectID,locked,lockedBy
>         FROM DBO.dmCPAJ
>         WHERE ObjectID = 'E5744CF4-1A4B-F8A3-945594B8574C9658'
>
> The thing is, it's supposed to be a custom admin for listing content
> objects. Why FarCry was looking for an unexisting object in my content
> table?
>
> BTW, we're running FarCry 4.0.9.
>
> Any insights or pointers will be greatly appreciated.
>
> Dan
>
> On Jul 2, 4:48 pm, "Dan T.W." <[EMAIL PROTECTED]> wrote:
>
>
>
> > One of my dynamic object admin interface suddenly is returning errors
> > (stack trace) as displayed below -
>
> > Any suggestions?
>
> > Thanks a lot!
>
> > Dan
>
> > at Statement343.evaluate(:1) at
> > cffourq2ecfc1255156713$funcGETDEFAULTOBJECT.runFunction(E:\farcry\core
> > \packages\fourq\fourq.cfc:150) at
> > cffourq2ecfc1255156713$funcGETDATA.runFunction(E:\farcry\core\packages
> > \fourq\fourq.cfc:435) at cfobjectadmin2ecfm697901105._factor10(E:
> > \farcry\core\tags\formtools\objectadmin.cfm:208) at
> > cfobjectadmin2ecfm697901105._factor37(E:\farcry\core\tags\formtools
> > \objectadmin.cfm:199) at cfobjectadmin2ecfm697901105._factor45(E:
> > \farcry\core\tags\formtools\objectadmin.cfm:28) at
> > cfobjectadmin2ecfm697901105.runPage(E:\farcry\core\tags\formtools
> > \objectadmin.cfm:1) at cfdmCPAJ2ecfm764392654.runPage(E:\farcry
> > \projects\showcase\customadmin\customlists\dmCPAJ.cfm:23) at
> > cfcustomadmin2ecfm914227284.runPage(E:\farcry\core\admin\admin
> > \customadmin.cfm:24)
>
> > java.lang.IllegalArgumentException: MONTH
> >         at java.util.GregorianCalendar.computeTime(GregorianCalendar.java:
> > 2316)
> >         at java.util.Calendar.updateTime(Calendar.java:2463)
> >         at java.util.Calendar.getTimeInMillis(Calendar.java:1082)
> >         at java.util.Calendar.getTime(Calendar.java:1055)
> >         at coldfusion.runtime.CFPage.CreateDate(CFPage.java:937)
> >         at Statement343.evaluate(<generated>:1)
> >         at 
> > coldfusion.compiler.ExprClassLoader.evaluate(ExprClassLoader.java:
> > 143)
> >         at coldfusion.runtime.CFPage.Evaluate(CFPage.java:1724)
> >         at cffourq2ecfc1255156713$funcGETDEFAULTOBJECT.runFunction(E:\farcry
> > \core\packages\fourq\fourq.cfc:150)
> >         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
> >         at coldfusion.runtime.UDFMethod
> > $ReturnTypeFilter.invoke(UDFMethod.java:360)
> >         at coldfusion.runtime.UDFMethod
> > $ArgumentCollectionFilter.invoke(UDFMethod.java:324)
> >         at
> > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
> > 56)
> >         at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
> >         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:463)
> >         at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2429)
> >         at cffourq2ecfc1255156713$funcGETDATA.runFunction(E:\farcry\core
> > \packages\fourq\fourq.cfc:435)
> >         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
> >         at coldfusion.runtime.UDFMethod
> > $ReturnTypeFilter.invoke(UDFMethod.java:360)
> >         at coldfusion.runtime.UDFMethod
> > $ArgumentCollectionFilter.invoke(UDFMethod.java:324)
> >         at
> > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
> > 56)
> >         at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
> >         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:463)
> >         at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:453)
> >         at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:320)
> >         at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2210)
> >         at 
> > cfobjectadmin2ecfm697901105._factor10(E:\farcry\core\tags\formtools
> > \objectadmin.cfm:208)
> >         at 
> > cfobjectadmin2ecfm697901105._factor37(E:\farcry\core\tags\formtools
> > \objectadmin.cfm:199)
> >         at 
> > cfobjectadmin2ecfm697901105._factor45(E:\farcry\core\tags\formtools
> > \objectadmin.cfm:28)
> >         at cfobjectadmin2ecfm697901105.runPage(E:\farcry\core\tags\formtools
> > \objectadmin.cfm:1)
> >         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
> >         at
> > coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java­­:
> > 63)
> >         at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:280)
> >         at cfdmCPAJ2ecfm764392654.runPage(E:\farcry\projects\showcase
> > \customadmin\customlists\dmCPAJ.cfm:23)
> >         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
> >         at
> > coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java­­:
> > 63)
> >         at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:280)
> >         at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2654)
> >         at cfcustomadmin2ecfm914227284.runPage(E:\farcry\core\admin\admin
> > \customadmin.cfm:24)
> >         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
> >         at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
> >         at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
> >         at 
> > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:
> > 279)
> >         at
> > coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:
> > 48)
> >         at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:
> > 40)
> >         at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
> >         at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
> >         at
> > coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:
> > 74)
> >         at
> > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenc­­eFilter.java:
> > 28)
> >         at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
> >         at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
> >         at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
> >         at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:
> > 22)
> >         at coldfusion.CfmServlet.service(CfmServlet.java:175)
> >         at
> > coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:
> > 89)
> >         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> >         at
> > coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServlet­­Filter.java:
> > 42)
> >         at 
> > coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:
> > 46)
> >         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> >         at jrun.servlet.FilterChain.service(FilterChain.java:101)
> >         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
> >         at 
> > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> >         at
> > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
> > 284)
> >         at
> > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
> > 543)
> >         at
> > jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
> > 203)
> >         at jrunx.scheduler.ThreadPool
> > $DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
> >         at jrunx.scheduler.ThreadPool
> > $ThreadThrottle.invokeRunnable(ThreadPool.java:428)
> >         at jrunx.scheduler.ThreadPool
> > $UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
> >         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)- Hide 
> > quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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