X-Application Version: 3.1.3
Tamino Version : 3.1.1
Platform : Win2k
WebContainer : Tomcat 3.3
JDK Version : 1.3.1
I modified a bit of the X-Query string of the X-Application, and tried to search two elements by the same value of ONE textfield. The following is a bit of the coding:
INPUT NAME=“keyword” SIZE=“20” TYPE=“text”/>
<xapp:setvar
name=“FILTER_/article/title” scope=“session”
value=“[/article/title~=‘${keyword$}’ or /article/abstract~=‘${keyword$}’]”
default=“”/>
<xapp:setvar name=“querySearch” scope=“session” value=“/article${FILTER_/article/title$}” default=“”/>
<xapp:action type=“query” arg=“${querySearch$}” form=“form1”>
</xapp:action>
When, got the following error. Any ideas?
!Error!
An error occurred in the application program. Please report the following problem to your webmaster.
Error message: No looping variable assignments allowed! Current sequence until loop detected: (querySearch)(FILTER_/article/title)(keyword)(keyword)
Help message: You are trying to evaluate a variable with invalid content. Loops of variable replacement is not allowed, because of danger of stack overflows. Please check the definitions of your defined values (Scope ?) or maybe your request contains a typo.
Exception id: 245
Exception Type: DesignException
Stacktrace:
XException: id = 215 arg[0] = com.softwareag.xtools.xapplication.plugin.StandardWorkspacePlugin.queryDocuments arg[1] = query
id = 245 arg[0] = (querySearch)(FILTER_/article/title)(keyword)(keyword)
at com.softwareag.xtools.xapplication.plugin.VariablesHandler.replaceVariables(VariablesHandler.java:337)
at com.softwareag.xtools.xapplication.plugin.VariablesHandler.evaluatingReplace(VariablesHandler.java:236)
at com.softwareag.xtools.xapplication.plugin.StandardWorkspacePlugin.queryDocuments(StandardWorkspacePlugin.java:341)
at java.lang.reflect.Method.invoke(Native Method)
at com.softwareag.xtools.xapplication.plugin.Action.invoke(Action.java:180)
at com.softwareag.xtools.xapplication.plugin.Dispatcher.execute(Dispatcher.java:158)
at com.softwareag.xtools.xapplication.jsp.SessionContext.processWorkspaceAction(SessionContext.java:389)
at com.softwareag.xtools.xapplication.jsp.taglib.ModuleTag.processDocumentAction(ModuleTag.java:503)
at com.softwareag.xtools.xapplication.jsp.taglib.ModuleTag.doStartTagCore(ModuleTag.java:117)
at com.softwareag.xtools.xapplication.jsp.JspTag.doStartTag(JspTag.java:142)
at list_7._jspService(list_7.java:155)
at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
nil
[This message was edited by Christian Freytag on 21 Mar 2003 at 12:23.]
Hi Mullin,
Your Problem looks very similar to a problem previously was posted.
This was a bug, which will be fxied with a patch.
You will find this patch as an attachment in the related topic.
http://tamino.forums.softwareag.com/viewtopic.php?p=13250
Hope that it will fix your problem.
Bye
Thorsten
Yes, it seems working!
nil
Hello,
this problem is fixed in X-Application 4.1.1.
Bye,
Christian.